mlpy.mdp.stateaction.MDPState.set_initial_states

classmethod MDPState.set_initial_states(states)[source]

Set the initial states.

Parameters:

states : str or MDPState or array_like or list

The initial state(s).

Raises:

ValueError

If both name and features are unspecified.