Skip to content

added #include <libsemigroups/word-graph-helpers.hpp> #241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: v1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <libsemigroups/action.hpp>
#include <libsemigroups/bmat8.hpp>
#include <libsemigroups/transf.hpp>
#include <libsemigroups/word-graph-helpers.hpp>
#include <libsemigroups/word-graph.hpp>

#include <fmt/core.h> // for format, print
Expand Down
2 changes: 1 addition & 1 deletion src/cong.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ obviously infinite; ``False`` is returned if it is not.
congruence has infinitely many classes.
)pbdoc");
} // bind_cong
} // namespace
} // namespace

void init_cong(py::module& m) {
bind_cong<word_type>(m, "CongruenceWord");
Expand Down
2 changes: 1 addition & 1 deletion src/froidure-pin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ elements are sorted, or :any:`UNDEFINED` if *i* is greater than

// TODO(1) are there some functions missing here?
} // bind_froidure_pin
} // namespace
} // namespace

void init_froidure_pin(py::module& m) {
// TODO(0) uncomment bind_froidure_pin<HPCombiTransf<16>>(m, "Transf16");
Expand Down
3 changes: 2 additions & 1 deletion src/gabow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
#include <libsemigroups/detail/int-range.hpp> // for IntegralRange<>::value_type
#include <libsemigroups/forest.hpp> // for Forest
#include <libsemigroups/gabow.hpp> // for Gabow
#include <libsemigroups/word-graph.hpp> // for WordGraph, word_graph
#include <libsemigroups/word-graph-helpers.hpp> // for WordGraph helpers
#include <libsemigroups/word-graph.hpp> // for WordGraph, word_graph

// pybind11....
#include <pybind11/operators.h> // for self, self_t, operator!=, operator*
Expand Down
2 changes: 1 addition & 1 deletion src/kambites.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ defined by a :any:`KambitesMultiStringView` object is obviously infinite;
presented semigroup or monoid defined by *k* is infinite.
)pbdoc");
} // bind_kambites
} // namespace
} // namespace

void init_kambites(py::module& m) {
// One call to bind is required per list of types
Expand Down
9 changes: 5 additions & 4 deletions src/knuth-bendix-impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@
// libsemigroups....

#include <libsemigroups/knuth-bendix.hpp> // for KnuthBendixImpl, KnuthBendixImpl::option...
#include <libsemigroups/obvinf.hpp> // for is_obviously_infinite
#include <libsemigroups/runner.hpp> // for Runner
#include <libsemigroups/types.hpp> // for word_type, letter_type
#include <libsemigroups/word-graph.hpp> // for WordGraph
#include <libsemigroups/obvinf.hpp> // for is_obviously_infinite
#include <libsemigroups/runner.hpp> // for Runner
#include <libsemigroups/types.hpp> // for word_type, letter_type
#include <libsemigroups/word-graph-helpers.hpp> // for WordGraph helpers
#include <libsemigroups/word-graph.hpp> // for WordGraph

// pybind11....
#include <pybind11/chrono.h>
Expand Down
2 changes: 1 addition & 1 deletion src/knuth-bendix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ redundant in this way, then ``None`` is returned.
});
thing.def("next", [](NormalFormRange& nfr) { nfr.next(); });
} // bind_normal_form_range
} // namespace
} // namespace

void init_knuth_bendix(py::module& m) {
using RewriteTrie = detail::RewriteTrie;
Expand Down
2 changes: 1 addition & 1 deletion src/konieczny.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ not already known.
int
)pbdoc");
} // bind_konieczny
} // namespace
} // namespace

void init_konieczny(py::module& m) {
bind_konieczny<BMat8>(m, "BMat8");
Expand Down
10 changes: 5 additions & 5 deletions src/paths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
#include <vector> // for vector

// libsemigroups....
#include <libsemigroups/constants.hpp> // for operator!=, operator==
#include <libsemigroups/order.hpp> // for order
#include <libsemigroups/paths.hpp> // for Paths
#include <libsemigroups/word-graph.hpp> // for WordGraph, word_graph

#include <libsemigroups/constants.hpp> // for operator!=, operator==
#include <libsemigroups/order.hpp> // for order
#include <libsemigroups/paths.hpp> // for Paths
#include <libsemigroups/word-graph-helpers.hpp> // for WordGraph helpers
#include <libsemigroups/word-graph.hpp> // for WordGraph, word_graph
// pybind11....
#include <pybind11/operators.h> // for self, self_t, operator!=, operator*
#include <pybind11/pybind11.h> // for class_, make_iterator, init, enum_
Expand Down
2 changes: 1 addition & 1 deletion src/present.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,7 @@ defined in the alphabet, and that the inverses act as semigroup inverses.

)pbdoc");
} // bind_inverse_present
} // namespace
} // namespace
void init_present(py::module& m) {
bind_present<word_type>(m, "PresentationWords");
bind_present<std::string>(m, "PresentationStrings");
Expand Down
2 changes: 1 addition & 1 deletion src/schreier-sims.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ corresponding to the intersection of *S1* and *S2*.
:raises LibsemigroupsError: if *T* is not empty.
)pbdoc");
} // bind_schreier_sims
} // namespace
} // namespace

void init_schreier_sims(py::module& m) {
// One call to bind is required per list of types
Expand Down
3 changes: 2 additions & 1 deletion src/sims.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
#include <libsemigroups/rx/ranges.hpp> // for rx::begin, rx::end, rx::transform
#include <libsemigroups/sims.hpp> // for Sims1, Sims2, ....
#include <libsemigroups/types.hpp> // for word_type
#include <libsemigroups/word-graph.hpp> // for WordGraph
#include <libsemigroups/word-graph-helpers.hpp> // for WordGraph Helpers
#include <libsemigroups/word-graph.hpp> // for WordGraph

// pybind11....
#include <pybind11/functional.h>
Expand Down
11 changes: 6 additions & 5 deletions src/to-cong.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
#include <string> // for string

// libsemigroups headers
#include <libsemigroups/cong-class.hpp> // for Congruence
#include <libsemigroups/froidure-pin-base.hpp> // for FroidurePinBase
#include <libsemigroups/to-cong.hpp> // for to<Congruence>
#include <libsemigroups/types.hpp> // for word_type
#include <libsemigroups/word-graph.hpp> // for WordGraph
#include <libsemigroups/cong-class.hpp> // for Congruence
#include <libsemigroups/froidure-pin-base.hpp> // for FroidurePinBase
#include <libsemigroups/to-cong.hpp> // for to<Congruence>
#include <libsemigroups/types.hpp> // for word_type
#include <libsemigroups/word-graph-helpers.hpp> // for WordGraph helpers
#include <libsemigroups/word-graph.hpp> // for WordGraph

// pybind11....
#include <pybind11/pybind11.h>
Expand Down
1 change: 1 addition & 0 deletions src/to-froidure-pin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <libsemigroups/todd-coxeter-class.hpp> // for ToddCoxeter
#include <libsemigroups/transf.hpp> // for Transf
#include <libsemigroups/types.hpp> // for word_type
#include <libsemigroups/word-graph-helpers.hpp> // for WordGraph helpers
#include <libsemigroups/word-graph.hpp> // for WordGraph

// pybind11....
Expand Down
1 change: 1 addition & 0 deletions src/to-todd-coxeter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <libsemigroups/to-todd-coxeter.hpp> // for to-todd-coxeter
#include <libsemigroups/todd-coxeter-class.hpp> // for ToddCoxeter
#include <libsemigroups/types.hpp> // for congruence_kind
#include <libsemigroups/word-graph-helpers.hpp> // for WordGraph helpers
#include <libsemigroups/word-graph.hpp> // for WordGraph

// pybind11....
Expand Down
2 changes: 1 addition & 1 deletion src/todd-coxeter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ non-trivial congruence containing the congruence represented by a
:rtype: tril
)pbdoc");
} // bind_todd_coxeter
} // namespace
} // namespace

void init_todd_coxeter(py::module& m) {
bind_todd_coxeter<word_type>(m, "ToddCoxeterWord");
Expand Down
3 changes: 2 additions & 1 deletion src/word-graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
#include <libsemigroups/config.hpp> // for LIBSEMIGROUPS_EIGEN_ENABLED
#include <libsemigroups/constants.hpp> // for operator!=, operator==
#include <libsemigroups/detail/int-range.hpp> // for IntegralRange<>::value_type
#include <libsemigroups/word-graph.hpp> // for WordGraph
#include <libsemigroups/word-graph-helpers.hpp> // for WordGraph helpers
#include <libsemigroups/word-graph.hpp> // for WordGraph

// pybind11....
#include <pybind11/operators.h> // for self, self_t, operator!=, operator*
Expand Down
Loading