set_nr_generators¶
-
void libsemigroups::KnuthBendixCongruenceByPairs::set_nr_generators(size_t n)¶
Set the number of generators of the congruence.
- Complexity
Constant.
- Parameters
n – the number of generators.
- Throws
LibsemigroupsException – If the number of generators has already been set to another value, or the parameter
n
is 0.- Returns
(None)