alphabet(size_t) const

std::string libsemigroups::FpSemigroupInterface::alphabet(size_t i) const

Returns the i-th letter of the alphabet of the finitely presented semigroup represented by this.

Return

A std::string by value.

Complexity

Constant.

Parameters
  • i: the index of the letter.

Exceptions
  • std::range_error: if the index i is out of range.