random_shuffle_generating_pairs¶
-
ToddCoxeter &
libsemigroups::congruence::ToddCoxeter
::
random_shuffle_generating_pairs
()¶ Randomly shuffle all existing generating pairs.
Additionally, if
this
was defined over a finitely presented semigroup, then the copy of the defining relations of that semigroup contained inthis
(if any) are also sorted according tofunc
.- Return
a reference to the object pointed to by
this
.- Parameters
(None)
- Exceptions
LibsemigroupsException
: if started() returnstrue
.