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 : MDPState

The state for which to choose the action for.

Returns:

MDPAction :

The best action.