Defined in sims.hpp.
This class is a helper for Sims1 calling the word_graph member function attempts to find a right congruence, represented as an WordGraph, of the semigroup or monoid defined by its presentation with the following properties:
If no such WordGraph can be found, then an empty WordGraph is returned (with 0 nodes and 0 edges).
|
|
| RepOrc () |
| | Default constructor.
|
| |
| template<typename OtherSubclass> |
| | RepOrc (SimsSettings< OtherSubclass > const &s) |
| | Construct from Sims1, Sims2 or MinimalRepOrc.
|
| |
| RepOrc & | init () |
| | Reinitialize an existing RepOrc object.
|
| |
| template<typename OtherSubclass> |
| RepOrc & | init (SimsSettings< OtherSubclass > const &s) |
| | Initialize an existing RepOrc object from Sims1, Sims2 or MinimalRepOrc.
|
| |
| size_t | max_nodes () const noexcept |
| | Get the current maximum number of nodes.
|
| |
| RepOrc & | max_nodes (size_t val) noexcept |
| | Set the maximum number of nodes.
|
| |
| size_t | min_nodes () const noexcept |
| | Get the current minimum number of nodes.
|
| |
| RepOrc & | min_nodes (size_t val) noexcept |
| | Set the minimum number of nodes.
|
| |
| size_t | target_size () const noexcept |
| | Get the current target size.
|
| |
| RepOrc & | target_size (size_t val) noexcept |
| | Set the target size.
|
| |
| Sims1::word_graph_type | word_graph () const |
| | Get the word_graph.
|
| |
| | SimsSettings () |
| |
| | SimsSettings (SimsSettings &&that) |
| |
| | SimsSettings (SimsSettings const &that) |
| |
|
| SimsSettings (SimsSettings< OtherSubclass > const &that) |
| | Construct from SimsSettings with different subclass.
|
| |
| RepOrc & | add_excluded_pair (Iterator1 first1, Iterator2 last1, Iterator3 first2, Iterator4 last2) |
| | Add an excluded pair via iterators.
|
| |
| RepOrc & | add_excluded_pair_no_checks (Iterator1 first1, Iterator2 last1, Iterator3 first2, Iterator4 last2) |
| | Add an excluded pair via iterators (no checks).
|
| |
| RepOrc & | add_included_pair (Iterator1 first1, Iterator2 last1, Iterator3 first2, Iterator4 last2) |
| | Add an included pair via iterators (no checks).
|
| |
| RepOrc & | add_included_pair_no_checks (Iterator1 first1, Iterator2 last1, Iterator3 first2, Iterator4 last2) |
| | Add an included pair via iterators.
|
| |
| RepOrc & | add_pruner (Func &&func) |
| | Add a pruner to the search tree.
|
| |
| std::vector< word_type >::const_iterator | cbegin_long_rules () const noexcept |
| | Get the pointer to the first long rule.
|
| |
| RepOrc & | cbegin_long_rules (size_t pos) |
| | Set the beginning of the long rules (position).
|
| |
| RepOrc & | cbegin_long_rules (std::vector< word_type >::const_iterator it) |
| | Set the beginning of the long rules (iterator).
|
| |
| RepOrc & | clear_excluded_pairs () |
| | Clear the set of excluded words.
|
| |
| RepOrc & | clear_included_pairs () |
| | Clear the set of included pairs.
|
| |
| RepOrc & | clear_long_rules () |
| | Clear the set of long rules.
|
| |
| RepOrc & | clear_pruners () |
| | Clear the set of pruners.
|
| |
| std::vector< word_type > const & | excluded_pairs () const noexcept |
| | Get the set of pairs that must be excluded from every congruence.
|
| |
| size_t | idle_thread_restarts () const noexcept |
| | Get the idle thread restart attempt count.
|
| |
| RepOrc & | idle_thread_restarts (size_t val) |
| | Set the idle thread restart attempt count.
|
| |
| std::vector< word_type > const & | included_pairs () const noexcept |
| | Get the set of pairs that must be included in every congruence.
|
| |
| RepOrc & | init () |
| | Reinitialize an existing SimsSettings object.
|
| |
|
RepOrc & | init (SimsSettings< OtherSubclass > const &that) |
| | Initialize from SimsSettings with different subclass.
|
| |
| RepOrc & | long_rule_length (size_t val) |
| | Set the length of a long rule.
|
| |
|
size_t | number_of_long_rules () const noexcept |
| | Returns the number of rules marked as long rules.
|
| |
| size_t | number_of_threads () const noexcept |
| | Get the number of threads.
|
| |
| RepOrc & | number_of_threads (size_t val) |
| | Set the number of threads.
|
| |
| SimsSettings & | operator= (SimsSettings &&that) |
| |
| SimsSettings & | operator= (SimsSettings const &that) |
| |
| Presentation< word_type > const & | presentation () const noexcept |
| | Get the presentation over which the congruences produced by an instance are defined.
|
| |
| RepOrc & | presentation (Presentation< word_type > const &p) |
| | Set the presentation over which the congruences produced by an instance are defined.
|
| |
| auto const & | pruners () const noexcept |
| | Get all active pruners of the search tree.
|
| |
| SimsSettings const & | settings () const noexcept |
| |
| SimsStats & | stats () const noexcept |
| | Get the current stats object.
|
| |
| void | throw_if_letter_not_in_alphabet (Iterator1 first, Iterator2 last) const |
| | Throws if any letter in a range is out of bounds.
|
| |