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