set_alphabet(size_t)ΒΆ
-
void
libsemigroups::FpSemigroupInterface
::
set_alphabet
(size_t n) Set the size of the alphabet.
Use this to specify the alphabet of a finitely presented semigroup if you intend to use indices rather than the actual letters in the alphabet in subsequent calculations.
- Return
(None)
- Complexity
Constant.
- See
- Parameters
n
: the number of letters.
- Exceptions
LibsemigroupsException
: If the size of the of alphabet has already been set to another value, or the parametern
is0
.