This file contains documentation related to semigroup and monoid presentations in libsemigroups
.
There are two classes and two namespaces with functionality related to presentations:
For documentation on how to create presentations from other libsemigroups
objects, see the documentation for the to<Presentation>
functions here.
|
template<typename T> |
static constexpr bool | IsInversePresentation = detail::IsInversePresentationHelper<T>::value |
| Helper variable template.
|
|
template<typename T> |
static constexpr bool | IsPresentation = detail::IsPresentationHelper<T>::value |
| Helper variable template.
|
|
◆ operator!=() [1/2]
Returns true
if lhop
does not equal rhop
by comparing the the alphabets and the rules.
- Template Parameters
-
Word | the type of the words in the inverse presentations. |
- Parameters
-
lhop | an inverse presentation that is to be compared. |
rhop | an inverse presentation that is to be compared. |
- Returns
- A value of type
bool
.
- Exceptions
- This function guarantees not to throw a LibsemigroupsException.
- Complexity
- At worst linear in the sum of the alphabet sizes and numbers of rules.
◆ operator!=() [2/2]
Returns true
if lhop
does not equal rhop
by comparing the the alphabets and the rules.
- Template Parameters
-
Word | the type of the words in the presentations. |
- Parameters
-
lhop | a presentation that is to be compared. |
rhop | a presentation that is to be compared. |
- Returns
- A value of type
bool
.
- Exceptions
- This function guarantees not to throw a LibsemigroupsException.
- Complexity
- At worst linear in the sum of the alphabet sizes and numbers of rules.
◆ operator==() [1/2]
Returns true
if lhop
equals rhop
by comparing the the alphabets and the rules.
- Template Parameters
-
Word | the type of the words in the inverse presentations. |
- Parameters
-
lhop | an inverse presentation that is to be compared. |
rhop | an inverse presentation that is to be compared. |
- Returns
- A value of type
bool
.
- Exceptions
- This function guarantees not to throw a LibsemigroupsException.
- Complexity
- At worst linear in the sum of the alphabet sizes and numbers of rules.
◆ operator==() [2/2]
Returns true
if lhop
equals rhop
by comparing the the alphabets and the rules.
- Template Parameters
-
Word | the type of the words in the presentations. |
- Parameters
-
lhop | a presentation that is to be compared. |
rhop | a presentation that is to be compared. |
- Returns
- A value of type
bool
.
- Exceptions
- This function guarantees not to throw a LibsemigroupsException.
- Complexity
- At worst linear in the sum of the alphabet sizes and numbers of rules.
◆ Presentation() [1/2]
template<typename Word>
Presentation |
( |
Presentation< Word > && | | ) |
-> Presentation< Word > |
◆ Presentation() [2/2]
template<typename Word>
Presentation |
( |
Presentation< Word > const & | | ) |
-> Presentation< Word > |
◆ to_human_readable_repr() [1/2]
◆ to_human_readable_repr() [2/2]
Return a human readable representation of a presentation.
- Template Parameters
-
Word | the type of the words in the presentation. |
- Parameters
-
- Exceptions
- This function guarantees not to throw a LibsemigroupsException.
◆ IsInversePresentation
template<typename T>
bool IsInversePresentation = detail::IsInversePresentationHelper<T>::value |
|
staticconstexpr |
Helper variable template.
The value of this variable is true
if the template parameter T
is InversePresentation.
- Template Parameters
-
◆ IsPresentation
template<typename T>
bool IsPresentation = detail::IsPresentationHelper<T>::value |
|
staticconstexpr |
Helper variable template.
The value of this variable is true
if the template parameter T
is InversePresentation.
- Template Parameters
-