dummy_agent

The module dummy_agent. Specifies a dummy agent

class dummy_agent.DummyAgent(policy)
__init__(policy)
on_state(state: State) Any

Randomly select an action to retrun

Parameters

state (The state the agent observes) –

play(env: Env, criteria: Criteria) PlayInfo

Apply the agent on the environment until the specified criteria is fulfilled

Parameters
  • env (The environment) –

  • criteria (The criteria) –

Return type

None