CongruenceByPairs¶
-
template<typename TFroidurePinType>
class CongruenceByPairs : public libsemigroups::CongruenceInterface, protected libsemigroups::detail::BruidhinnTraits<TFroidurePinType::element_type>¶ Defined in
cong-pair.hpp.This class contains an implementation of a brute force breadth first search algorithm for computing left, right, and 2-sided congruences on semigroups and monoids.
This page contains a summary of the member functions of the class CongruenceByPairs, and related things in
libsemigroups.See also
congruence_kind and tril.
- Example
using namespace libsemigroups; auto rg = ReportGuard(); using Transf = typename TransfHelper<8>::type; FroidurePin<Transf> S({Transf({7, 3, 5, 3, 4, 2, 7, 7}), Transf({1, 2, 4, 4, 7, 3, 0, 7}), Transf({0, 6, 4, 2, 2, 6, 6, 4}), Transf({3, 6, 3, 4, 0, 6, 0, 7})}); using P = CongruenceByPairs<decltype(S)>; P cong1(right, S); cong1.number_of_classes(); // 11804 P cong2(left, S); cong2.number_of_classes(); // 11804 P cong3(twosided, S); cong3.number_of_classes(); // 11804
Aliases¶
No doc. |
|
No doc. |
|
No doc. |
|
Type for indices of congruence class indices. |
|
The type of a const reference to an |
|
No doc. |
|
The type of a reference to an |
|
No doc. |
Constructors¶
A default copy constructor. |
|
A default move constructor. |
|
|
|
|
No doc. |
Deleted constructors¶
Member functions inherited from CongruenceInterface¶
|
|