one

virtual T libsemigroups::Semiring::one() const = 0

Returns the multiplicative identity, or one, of the semiring.