generator

inline const_element_reference libsemigroups::SchreierSims::generator(index_type const index) const

Get a generator.

Complexity

Constant.

Parameters

index – the index of the generator we want.

Throws

LibsemigroupsException – if the index is out of bounds.

Returns

A const reference to the generator of this with index index.