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

add Base.:(==) and Base.hash for AbstractEnv and test nash_conv on KuhnPokerEnv #348

Merged
merged 9 commits into from
Jul 8, 2021

Conversation

peterchen96
Copy link
Member

Add Base.:(==) and Base.hash for AbstractEnv so that can compute nash_conv on KuhnPokerEnv().

# checking the state of all players in env is enough?
"""
Base.:(==)(env1::T, env2::T) where T<:AbstractEnv
!!! warning: Only check the state of all players in the env.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
!!! warning: Only check the state of all players in the env.
!!! warning
Only check the state of all players in the env.

This is the correct format for adding warning. Please read https://docs.julialang.org/en/v1/stdlib/Markdown/#Admonitions for more details.

@findmyway findmyway merged commit 0b6fc51 into JuliaReinforcementLearning:master Jul 8, 2021
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 this pull request may close these issues.

2 participants