strong_generator

inline const_element_reference libsemigroups::SchreierSims::strong_generator(index_type const depth, index_type const index) const

Get a strong generator.

Complexity

Constant.

Parameters
  • depth – the depth.

  • index – the index of the generator we want.

Throws

LibsemigroupsException – if the index is out of bounds.

Returns

A const reference to the strong generator of this at depth depth and with index index.