nr_rulesΒΆ

size_t libsemigroups::FpSemigroupInterface::nr_rules() const

Returns the number of rules of the finitely presented semigroup represented by this.

Return

A value of type size_t.

Exceptions

This function is noexcept and is guaranteed never to throw.

Complexity

Constant.

Parameters

(None)