mlpy.mdp.discrete.DecisionTreeModel.add_state

DecisionTreeModel.add_state(state)

Add a new state to the statespace.

Add a new state to the statespace (a collection of states that have already been seen).

Parameters:

state : State

The state to add to the state space.

Returns:

bool :

Whether the state was a new state or not.