identity

std::string const &libsemigroups::FpSemigroup::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