mlpy.agents.modules.LearningModule.get_next_action

LearningModule.get_next_action()[source]

Return the next action.

The next action the agent will execute is selected based on the current state and the policy that has been derived by the learner so far.

Returns:

Action :

The next action