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.
◆ 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
Helper variable template.
The value of this variable is true if the template parameter Thing is InversePresentation.
- Template Parameters
-
- Warning
- This alias is deprecated and will be removed from
libsemigroups in v4, please use is_specialization_of_v<Thing, InversePresentation> instead.
◆ IsPresentation
Helper variable template.
The value of this variable is true if the template parameter Thing is InversePresentation.
- Template Parameters
-
- Warning
- This alias is deprecated and will be removed from
libsemigroups in v4, please use is_specialization_of_v<Thing, Presentation> instead.