mlpy.mdp.stateaction.State.is_terminal

State.is_terminal()[source]

Checks if the state is a terminal state.

Returns:

bool :

Whether the state is a terminal state or not.