mlpy.agents.modules.IAgentModule.choose_action

IAgentModule.choose_action(state)[source]

Choose the next action the agent will execute.

Parameters:

state : MDPState

The current state the agent is in.

Returns:

MDPAction :

The next action

Raises:

NotImplementedError

If the child class does not implement this function.

Notes

This is an abstract method and must be implemented by its deriving class.