-
Notifications
You must be signed in to change notification settings - Fork 5
mods added #5
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
base: master
Are you sure you want to change the base?
mods added #5
Conversation
Sir-Batman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Major Comments:
- Needs proper doc strings for the newly introduced functions.
- Makefiles are not necessary in my build environment, we can either accept them as is or review your build setup to not need the makefiles.
gym_example.py
Outdated
| import code.agent_domain_2 as domain | ||
| import mods | ||
|
|
||
| #from renderer import* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #from renderer import* |
mods.py
Outdated
| (sim.data["Specifics Name"], sim.data["Mod Name"], dateTimeString) | ||
| (sim.data["Specifics Name"], sim.data["Mod Name"], dateTimeString) | ||
|
|
||
| ############################## |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make the comment be a proper docstring (see here . Use the ReST style.
| #population to use and must also be set | ||
| ############################## | ||
|
|
||
| def assignHomogeneousPolicy(sim): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make proper docstring
| # | ||
| #call function after each sim.step | ||
| ############################## | ||
| def poiVelocity(sim): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make proper doc string
| ############################## | ||
|
|
||
|
|
||
| def abilityVariation(sim): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make proper doc string
| # | ||
| #call function after sim is created and after each sim.reset | ||
| ############################## | ||
| def sequentialPoi(sim): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make proper doc string
| #call function after sim is created | ||
| ############################## | ||
|
|
||
| def lowVisibility(sim): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make proper doc string
| sim.data["Observation Function"]=doAgentSenseMod | ||
|
|
||
|
|
||
| def simpleReward(data): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make proper doc string
| # | ||
| #call function after sim is created and before each sim.reset | ||
| ############################## | ||
| def recipePoi(sim): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make proper doc string
gym_example.py
Outdated
| stepCount += 1 | ||
| if ( episodeIndex%50==49 and worldIndex==0): | ||
| sim.render() | ||
| #render(sim.data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #render(sim.data) |
No description provided.