Skip to content

Inconsistency in multimode with the documentation #30

@AlecsFerra

Description

@AlecsFerra

From the documentation: "
play(self, pcont=None, econt=None): executes a game run using the solu-
tions given as ’pcont’(player) and ’econt’(enemy) for the controllers. When
using the default controllers these parameters are not necessary, as agents
will take random actions.
When in single objective mode, it returns: fitness, player life, enemy life,
and game run time, in this order as single values. When in multi objective
mode, it returns: fitness, player life, enemy life, and game run time, in this
order as 4 lists containing values of each game (lists are ordered by the order
of enemies parameter provided)."

But actually in multimode is returning the mean - std of the player life, enemy life and time instead of the arrays

vplayerlife = self.cons_multi(numpy.array(vplayerlife))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions