Agents

All agents should inherit from the Agent class.

class or_suite.agents.agent.Agent[source]
__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

pick_action(obs, h)[source]

Select an action based upon the observation

reset()[source]
update_config(env, config)[source]

Update agent information based on the config__file

update_obs(obs, action, reward, newObs, timestep, info)[source]

Add observation to records

update_parameters(param)[source]
update_policy(h)[source]

Update internal policy based upon records