mlpy.mdp.discrete.DecisionTreeModel.get_actions¶
-
DecisionTreeModel.
get_actions
(state=None)¶ Retrieve the available actions for the given state.
Parameters: state : MDPState
The state for which to get the actions.
Returns: list :
The actions that can be taken in this state.
Raises: ValueError:
If the actions have not been initialized.