nr_rules

size_t libsemigroups::fpsemigroup::KnuthBendix::nr_rules() const noexcept

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)