Skip to content

mods added#5

Open
JershCook wants to merge 5 commits into
AADILab:masterfrom
JershCook:master
Open

mods added#5
JershCook wants to merge 5 commits into
AADILab:masterfrom
JershCook:master

Conversation

@JershCook

Copy link
Copy Markdown

No description provided.

@Sir-Batman Sir-Batman self-assigned this Jan 19, 2019
@Sir-Batman Sir-Batman added the enhancement New feature or request label Jan 19, 2019
@Sir-Batman Sir-Batman self-requested a review January 19, 2019 01:04

@Sir-Batman Sir-Batman left a comment

Copy link
Copy Markdown
Member

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.

Comment thread gym_example.py Outdated
import code.agent_domain_2 as domain
import mods

#from renderer import*

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
#from renderer import*

Comment thread mods.py Outdated
(sim.data["Specifics Name"], sim.data["Mod Name"], dateTimeString) No newline at end of file
(sim.data["Specifics Name"], sim.data["Mod Name"], dateTimeString)

##############################

Copy link
Copy Markdown
Member

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.

Comment thread mods.py
#population to use and must also be set
##############################

def assignHomogeneousPolicy(sim):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Make proper docstring

Comment thread mods.py
#
#call function after each sim.step
##############################
def poiVelocity(sim):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Make proper doc string

Comment thread mods.py
##############################


def abilityVariation(sim):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Make proper doc string

Comment thread mods.py
#
#call function after sim is created and after each sim.reset
##############################
def sequentialPoi(sim):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Make proper doc string

Comment thread mods.py
#call function after sim is created
##############################

def lowVisibility(sim):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Make proper doc string

Comment thread mods.py
sim.data["Observation Function"]=doAgentSenseMod


def simpleReward(data):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Make proper doc string

Comment thread mods.py
#
#call function after sim is created and before each sim.reset
##############################
def recipePoi(sim):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Make proper doc string

Comment thread gym_example.py Outdated
stepCount += 1
if ( episodeIndex%50==49 and worldIndex==0):
sim.render()
#render(sim.data)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
#render(sim.data)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants