![]() |
libsemigroups
v3.0.0
C++ library for semigroups and monoids
|
This page contains documentation related to converting libsemigroups
objects into KnuthBendix instances.
libsemigroups
types. Functions | |
template<typename Result> | |
auto | to (congruence_kind knd, FroidurePinBase &fpb) -> std::enable_if_t< std::is_same_v< KnuthBendix< typename Result::native_word_type, typename Result::rewriter_type >, Result >, Result > |
Convert a FroidurePin object to a KnuthBendix object. | |
template<typename Result> | |
auto | to (congruence_kind knd, ToddCoxeter< typename Result::native_word_type > &tc) -> std::enable_if_t< std::is_same_v< KnuthBendix< typename Result::native_word_type, typename Result::rewriter_type >, Result >, Result > |
Convert a ToddCoxeter object to a KnuthBendix object. | |
template<template< typename... > typename Thing, typename Word> | |
auto | to (congruence_kind knd, ToddCoxeter< Word > &tc) -> std::enable_if_t< std::is_same_v< Thing< Word >, KnuthBendix< Word > >, KnuthBendix< Word > > |
Convert a ToddCoxeter object to a KnuthBendix object. | |
auto to | ( | congruence_kind | knd, |
FroidurePinBase & | fpb ) -> std::enable_if_t< std::is_same_v<KnuthBendix<typename Result::native_word_type, typename Result::rewriter_type>, Result>, Result> |
Defined in to-knuth-bendix.hpp
Despite the hideous signature, this function should be invoked as follows:
This function converts the FroidurePin object fpb
into a KnuthBendix object using the presentation obtained using to<Presentation<Word>>(FroidurePinBase&).
Result | used for SFINAE, the return type of this function, must be KnuthBendix<Word, Rewriter> for some type Word and Rewriter . |
knd | the kind of the congruence being constructed. |
fpb | the FroidurePin instance to be converted. |
fpb
. auto to | ( | congruence_kind | knd, |
ToddCoxeter< typename Result::native_word_type > & | tc ) -> std::enable_if_t< std::is_same_v<KnuthBendix<typename Result::native_word_type, typename Result::rewriter_type>, Result>, Result> |
Defined in to-knuth-bendix.hpp
Despite the hideous signature, this function should be invoked as follows:
This function converts the ToddCoxeter object tc
into a KnuthBendix object using ToddCoxeter::presentation.
Result | used for SFINAE, the return type of this function, must be KnuthBendix<Word, Rewriter> for some type Word and Rewriter . |
knd | the kind of the congruence being constructed. |
tc | the ToddCoxeter object being converted. |
tc
.auto to | ( | congruence_kind | knd, |
ToddCoxeter< Word > & | tc ) -> std::enable_if_t<std::is_same_v<Thing<Word>, KnuthBendix<Word>>, KnuthBendix<Word>> |
Defined in to-knuth-bendix.hpp
Despite the hideous signature, this function should be invoked as follows:
This function converts the ToddCoxeter object tc
into a KnuthBendix object using ToddCoxeter::presentation.
Thing | used for SFINAE, must be KnuthBendix. |
Word | the type of the words used in relations in kb . |
knd | the kind of the congruence being constructed. |
tc | the ToddCoxeter object being converted. |
tc
.