![]() |
libsemigroups
v3.0.0
C++ library for semigroups and monoids
|
This page contains the documentation of the functions add_generating_pair and add_generating_pair_no_checks which can be invoked with a variety of different argument types.
Functions | |
template<typename Thing> | |
void | add_generating_pair (Thing &thing, char const *u, char const *v) |
Helper for adding a generating pair of words (string literals). | |
template<typename Thing, typename Int> | |
void | add_generating_pair (Thing &thing, std::initializer_list< Int > const &u, std::initializer_list< Int > const &v) |
Helper for adding a generating pair of words (std::initializer_list). | |
template<typename Thing> | |
void | add_generating_pair (Thing &thing, std::string_view u, std::string_view v) |
Helper for adding a generating pair of words (std::string_view). | |
template<typename Thing> | |
void | add_generating_pair (Thing &thing, typename Thing::native_word_type const &u, typename Thing::native_word_type const &v) |
Helper for adding a generating pair of words. | |
template<typename Thing> | |
void | add_generating_pair_no_checks (Thing &thing, char const *u, char const *v) |
Helper for adding a generating pair of words (string literals). | |
template<typename Thing, typename Int> | |
void | add_generating_pair_no_checks (Thing &thing, std::initializer_list< Int > const &u, std::initializer_list< Int > const &v) |
Helper for adding a generating pair of words (std::initializer_list). | |
template<typename Thing> | |
void | add_generating_pair_no_checks (Thing &thing, std::string_view u, std::string_view v) |
Helper for adding a generating pair of words (std::string_view). | |
template<typename Thing> | |
void | add_generating_pair_no_checks (Thing &thing, typename Thing::native_word_type const &u, typename Thing::native_word_type const &v) |
Helper for adding a generating pair of words. | |
void add_generating_pair | ( | Thing & | thing, |
char const * | u, | ||
char const * | v ) |
Defined in cong-common-helpers.hpp
.
See add_generating_pairs for details.
void add_generating_pair | ( | Thing & | thing, |
std::initializer_list< Int > const & | u, | ||
std::initializer_list< Int > const & | v ) |
Defined in cong-common-helpers.hpp
.
Int | must satisfy std::integral_type_v<Int> . |
See add_generating_pairs for details.
void add_generating_pair | ( | Thing & | thing, |
std::string_view | u, | ||
std::string_view | v ) |
Defined in cong-common-helpers.hpp
.
See add_generating_pairs for details.
void add_generating_pair | ( | Thing & | thing, |
typename Thing::native_word_type const & | u, | ||
typename Thing::native_word_type const & | v ) |
Defined in cong-common-helpers.hpp
.
This function can be used to add a generating pair to thing
using objects themselves rather than iterators.
Thing | the type of the first parameter must be one of Kambites, KnuthBendix, ToddCoxeter, or Congruence. |
thing | the object to add generating pairs to. |
u | the left hand side of the pair to add. |
v | the right hand side of the pair to add. |
LibsemigroupsException | if any of the values pointed at by the iterators is out of range, i.e. they do not belong to presentation().alphabet() and Presentation::validate_word throws. |
void add_generating_pair_no_checks | ( | Thing & | thing, |
char const * | u, | ||
char const * | v ) |
Defined in cong-common-helpers.hpp
.
See add_generating_pair_no_checks for details.
void add_generating_pair_no_checks | ( | Thing & | thing, |
std::initializer_list< Int > const & | u, | ||
std::initializer_list< Int > const & | v ) |
Defined in cong-common-helpers.hpp
.
Int | must satisfy std::integral_type_v<Int> . |
See add_generating_pair_no_checks for details.
void add_generating_pair_no_checks | ( | Thing & | thing, |
std::string_view | u, | ||
std::string_view | v ) |
Defined in cong-common-helpers.hpp
.
See add_generating_pair_no_checks for details.
void add_generating_pair_no_checks | ( | Thing & | thing, |
typename Thing::native_word_type const & | u, | ||
typename Thing::native_word_type const & | v ) |
Defined in cong-common-helpers.hpp
.
This function can be used to add a generating pair to thing
using objects themselves rather than iterators.
Thing | the type of the first parameter must be one of Kambites, KnuthBendix, ToddCoxeter, or Congruence. |
thing | the object to add generating pairs to. |
u | the left hand side of the pair to add. |
v | the right hand side of the pair to add. |
presentation().alphabet()
.