nr_generating_pairs

inline size_t libsemigroups::Congruence::nr_generating_pairs() const noexcept

Returns the number of generating pairs added by CongruenceInterface::add_pair.

Exceptions

This function is noexcept and is guaranteed never to throw.

Complexity

Constant.

Parameters

(None)

Returns

The number of generating pairs of the congruence that an object of this type represents.