contains¶
-
bool
libsemigroups::FroidurePin
::
contains
(const_reference)¶ Returns
true
ifx
is an element ofthis
andfalse
if it is not.This member function can be used to check if the element
x
is an element of the semigroup. The semigroup is enumerated in batches untilx
is found or the semigroup is fully enumerated butx
was not found (see FroidurePin::batch_size).