position

index_type libsemigroups::Action::position(const_reference_point_type pt) const

Returns the position of the point pt in the so far discovered points in the action.

Return

The index of pt in this or libsemigroups::UNDEFINED.

Exceptions

This function guarantees not to throw a LibsemigroupsException.

Complexity

Constant.

Parameters
  • pt: the point whose position is sought.