agent_base

The module agent_base. Specifies the interface that an agent should implement

class agent_base.AgentBase(policy: Policy)

The AgentBase class.

__init__(policy: Policy)
on_state(state: State) Any
Parameters

state

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