mlpy.mdp.stateaction.MDPState.set_terminal_states

classmethod MDPState.set_terminal_states(states)[source]

Set the terminal states.

Parameters:

states : str or ndarray or MDPState or list[str|ndarray|MDPState]

The initial state(s).

Raises:

ValueError

If both name and features are unspecified.