position

inline 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.

Exceptions

This function guarantees not to throw a LibsemigroupsException.

Complexity

Constant.

Parameters

pt – the point whose position is sought.

Returns

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