identity¶
-
std::string const &
libsemigroups::fpsemigroup::KnuthBendix
::
identity
() const¶ Returns the identity of
this
, or throws an exception if there isn’t one.- Return
A const reference to the identity, a value of type std::string.
- Complexity
Constant.
- Parameters
(None)
- Exceptions
LibsemigroupsException
: if no identity has been defined.