![]() |
libsemigroups
v3.0.3
C++ library for semigroups and monoids
|
This struct containing various options that can be used to control the behaviour of Knuth-Bendix.
Public Types | |
enum class | overlap { ABC = 0 , AB_BC = 1 , MAX_AB_BC = 2 } |
Values for specifying how to measure the length of an overlap. More... | |
|
strong |
The values in this enum determine how a KnuthBendix instance measures the length \(d(AB, BC)\) of the overlap of two words \(AB\) and \(BC\):
Enumerator | |
---|---|
ABC | \(d(AB, BC) = |A| + |B| + |C|\) |
AB_BC | \(d(AB, BC) = |AB| + |BC|\) |
MAX_AB_BC | \(d(AB, BC) = max(|AB|, |BC|)\) |