mlpy.mdp.discrete.DiscreteModel.get_actions

DiscreteModel.get_actions(state=None)[source]

Retrieve the available actions for the given state.

Parameters:

state : State

The state for which to get the actions.

Returns:

list :

The actions that can be taken in this state.