get_absorbing_state_index

ludics.main.get_absorbing_state_index(state_space)

Returns the index(s) of absorbing states in the state space

Parameters:

  • state_space - numpy.array - an array of possible states

Returns:

  • numpy.array - the index of all all absorbing states in the state space. Returns None if no absorbing states exist