add_generator

inline void libsemigroups::SchreierSims::add_generator(const_element_reference x)

Add a generator to this.

Complexity

Constant

Parameters

x – a const reference to the generator to add.

Throws

LibsemigroupsException – if the degree of x is not equal to the first template parameter N.

Returns

(None)