nr_rules

inline size_t libsemigroups::CongruenceWrapper::nr_rules() const noexcept

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

Exceptions

This function is noexcept and is guaranteed never to throw.

Complexity

Constant.

Parameters

(None)

Returns

A value of type size_t.