Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency in multimode with the documentation #30

Open
AlecsFerra opened this issue Oct 6, 2023 · 1 comment · May be fixed by #31
Open

Inconsistency in multimode with the documentation #30

AlecsFerra opened this issue Oct 6, 2023 · 1 comment · May be fixed by #31

Comments

@AlecsFerra
Copy link

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))

AlecsFerra added a commit to AlecsFerra/evoman_framework that referenced this issue Oct 6, 2023
AlecsFerra added a commit to AlecsFerra/evoman_framework that referenced this issue Oct 6, 2023
@AlecsFerra AlecsFerra linked a pull request Oct 6, 2023 that will close this issue
@AlecsFerra
Copy link
Author

I have opened a PR with the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant