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.
Namespaces | |
| namespace | libsemigroups::presentation |
| Namespace for Presentation helper functions. | |
| namespace | libsemigroups::presentation::examples |
| Namespace for presentations of some finitely presented semigroups. | |
Classes | |
| class | InversePresentation< Word > |
| For an implementation of inverse presentations for semigroups or monoids. More... | |
| class | Presentation< Word > |
| For an implementation of presentations for semigroups or monoids. More... | |
Functions | |
| template<typename Word> | |
| bool | operator!= (InversePresentation< Word > const &lhop, InversePresentation< Word > const &rhop) |
| Compare for inequality. | |
| template<typename Word> | |
| bool | operator!= (Presentation< Word > const &lhop, Presentation< Word > const &rhop) |
| Compare for inequality. | |
| template<typename Word> | |
| bool | operator== (InversePresentation< Word > const &lhop, InversePresentation< Word > const &rhop) |
| Compare for equality. | |
| template<typename Word> | |
| bool | operator== (Presentation< Word > const &lhop, Presentation< Word > const &rhop) |
| Compare for equality. | |
| template<typename Word> | |
| Presentation (Presentation< Word > &&) -> Presentation< Word > | |
| Deduction guide. | |
| template<typename Word> | |
| Presentation (Presentation< Word > const &) -> Presentation< Word > | |
| Deduction guide. | |
| template<typename Word> | |
| std::string | to_human_readable_repr (InversePresentation< Word > const &p) |
| Return a human readable representation of an InversePresentation. | |
| template<typename Word> | |
| std::string | to_human_readable_repr (Presentation< Word > const &p) |
| Return a human readable representation of a presentation. | |
Variables | |
| template<typename Thing> | |
| static constexpr bool | IsInversePresentation = is_specialization_of_v<Thing, InversePresentation> |
| Helper variable template. | |
| template<typename Thing> | |
| static constexpr bool | IsPresentation = is_specialization_of_v<Thing, Presentation> |
| Helper variable template. | |
| bool operator!= | ( | InversePresentation< Word > const & | lhop, |
| InversePresentation< Word > const & | rhop ) |
Returns true if lhop does not equal rhop by comparing the the alphabets and the rules.
| Word | the type of the words in the inverse presentations. |
| lhop | an inverse presentation that is to be compared. |
| rhop | an inverse presentation that is to be compared. |
bool.| bool operator!= | ( | Presentation< Word > const & | lhop, |
| Presentation< Word > const & | rhop ) |
Returns true if lhop does not equal rhop by comparing the the alphabets and the rules.
| Word | the type of the words in the presentations. |
| lhop | a presentation that is to be compared. |
| rhop | a presentation that is to be compared. |
bool.| bool operator== | ( | InversePresentation< Word > const & | lhop, |
| InversePresentation< Word > const & | rhop ) |
Returns true if lhop equals rhop by comparing the the alphabets and the rules.
| Word | the type of the words in the inverse presentations. |
| lhop | an inverse presentation that is to be compared. |
| rhop | an inverse presentation that is to be compared. |
bool.| bool operator== | ( | Presentation< Word > const & | lhop, |
| Presentation< Word > const & | rhop ) |
Returns true if lhop equals rhop by comparing the the alphabets and the rules.
| Word | the type of the words in the presentations. |
| lhop | a presentation that is to be compared. |
| rhop | a presentation that is to be compared. |
bool.| Presentation | ( | Presentation< Word > && | ) | -> Presentation< Word > |
Defined in presentation.hpp.
Deduction guide to construct a Presentation<Word> from a Presentation<Word>&&.
| Presentation | ( | Presentation< Word > const & | ) | -> Presentation< Word > |
Defined in presentation.hpp.
Deduction guide to construct a Presentation<Word> from a Presentation<Word> const&.
| std::string to_human_readable_repr | ( | InversePresentation< Word > const & | p | ) |
Return a human readable representation of an InversePresentation.
| Word | the type of the words in the InversePresentation. |
| p | the InversePresentation. |
| std::string to_human_readable_repr | ( | Presentation< Word > const & | p | ) |
Return a human readable representation of a presentation.
| Word | the type of the words in the presentation. |
| p | the presentation. |
|
staticconstexpr |
Helper variable template.
The value of this variable is true if the template parameter Thing is InversePresentation.
| Thing | a type. |
|
staticconstexpr |
Helper variable template.
The value of this variable is true if the template parameter Thing is InversePresentation.
| Thing | a type. |