mlpy.experiments.task.SearchTask.get_successor

SearchTask.get_successor(state)[source]

Find valid successors.

Finds all valid successors (state-action pairs) for the given state.

Parameters:

state : int or tuple[int]

The state from which to find successors.

Returns:

list[tuple(str, str or tuple[str])] :

A list of all successor.

Raises:

NotImplementedError

If the child class does not implement this function.