nr_generators¶
-
size_t
libsemigroups::KnuthBendixCongruenceByPairs::nr_generators() const noexcept¶ Returns the number of generators specified by CongruenceInterface::set_nr_generators.
- Return
The number of generators of the semigroup of the congruence that an object of this type represents, or libsemigroups::UNDEFINED.
- Exceptions
This function is
noexceptand is guaranteed never to throw.- Complexity
Constant.
- Parameters
(None)