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

Improve closer implementation and docstrings #126

Merged
merged 6 commits into from
May 27, 2016
Merged

Improve closer implementation and docstrings #126

merged 6 commits into from
May 27, 2016

Conversation

gdb
Copy link
Collaborator

@gdb gdb commented May 27, 2016

@jietang mind reviewing?

gdb added 5 commits May 27, 2016 10:01
- Register all envs at initialization time, not just ones created via make
- Simplify names and add more documentation on interface
- Move closer instances into the relevant modules

review-requested: @jietang
This isn't strictly needed, but means there are fewer Doom
subprocesses hanging around while the tests run.
The __init__ method gets called once __new__ returns,
so these arguments are either ignored (Python 2) or
result in an error (Python 3). The __init__ method
automatically gets called with the correct arguments.
@@ -31,13 +33,22 @@ class Env(object):

action_space: The Space object corresponding to valid actions
observation_space: The Space object corresponding to valid observations
reward_range: A tuple corresponding to the min and max possible rewards
Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't look like we actually use this anywhere - should we get rid of it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is for use by people's algorithms.

@jietang
Copy link
Contributor

jietang commented May 27, 2016

lgtm

@gdb gdb merged commit 8376580 into master May 27, 2016
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