mlpy.planners.discrete.ValueIteration.get_best_action

ValueIteration.get_best_action(state)[source]

Choose the best next action for the agent to take.

Parameters:

state : State

The state for which to choose the action for.

Returns:

Action :

The best action.