generator

const_reference libsemigroups::FroidurePin::generator(letter_type) const

Returns a const_reference to the generator with index pos.

If pos is not less than FroidurePin::nr_generators(), a LibsemigroupsException will be thrown. Note that FroidurePin::generator(pos) is in general in general not in position pos in the semigroup, i.e. is not equal to FroidurePin::at(pos).