alphabet(size_t) const

inline std::string libsemigroups::FpSemigroup::alphabet(size_t i) const

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

Complexity

Constant.

Parameters

i – the index of the letter.

Throws

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

Returns

A std::string by value.