libsemigroups-pybind11 1.4.3__tar.gz → 1.4.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- libsemigroups_pybind11-1.4.5/.pre-commit-config.yaml +40 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/CITATION.cff +2 -2
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/Makefile +1 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/PKG-INFO +5 -5
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/README.md +4 -4
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/build_tools/__init__.py +1 -1
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/authors.rst +1 -1
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/changelog-v1.rst +14 -2
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/to-inverse-present.rst +10 -11
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/to-present.rst +6 -6
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/install.rst +4 -4
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/froidure-pin/to-froidure-pin.rst +6 -6
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/knuth-bendix/to-knuth-bendix.rst +7 -7
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/etc/check-params.py +5 -2
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/action.cpp +2 -2
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/aho-corasick.cpp +25 -18
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/bipart.cpp +7 -7
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/cong-common.cpp +9 -9
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/cong.cpp +1 -1
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/dot.cpp +7 -7
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/errors.cpp +2 -2
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/forest.cpp +31 -35
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/freeband.cpp +1 -1
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/froidure-pin-base.cpp +10 -8
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/froidure-pin.cpp +6 -6
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/gabow.cpp +7 -7
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/hpcombi.cpp +37 -36
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/kambites.cpp +13 -9
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/knuth-bendix-impl.cpp +27 -27
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/knuth-bendix.cpp +9 -9
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/konieczny.cpp +17 -18
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/_version.py +3 -3
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/detail/cxx_wrapper.py +6 -2
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/presentation/__init__.py +3 -5
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11.egg-info/PKG-INFO +5 -5
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11.egg-info/SOURCES.txt +4 -0
- libsemigroups_pybind11-1.4.5/src/libsemigroups_pybind11.egg-info/scm_file_list.json +327 -0
- libsemigroups_pybind11-1.4.5/src/libsemigroups_pybind11.egg-info/scm_version.json +8 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/main.hpp +1 -1
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/matrix.cpp +26 -25
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/obvinf.cpp +7 -7
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/order.cpp +9 -5
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/paths.cpp +19 -20
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/pbr.cpp +23 -21
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/present.cpp +81 -75
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/presentation-examples.cpp +115 -142
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/report.cpp +2 -2
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/runner.cpp +34 -27
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/schreier-sims.cpp +37 -33
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/sims.cpp +92 -80
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/stephen.cpp +25 -19
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/todd-coxeter-impl.cpp +54 -56
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/todd-coxeter.cpp +36 -38
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/transf.cpp +24 -14
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/types.cpp +5 -5
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/ukkonen.cpp +82 -62
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/word-graph.cpp +65 -65
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/word-range.cpp +72 -65
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_present.py +32 -0
- libsemigroups_pybind11-1.4.5/tests/test_sims_threads.py +82 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/LICENSE +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/MANIFEST.in +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/build_tools/packaging_helpers.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/Makefile +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/make.bat +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/pictures/libsemigroups_pybind11_banner.svg +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/pictures/libsemigroups_pybind11_logo.svg +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/pictures/to-table.svg +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/pictures/to-table.tex +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/_ext/libsemigroups_pybind11_extensions.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/_static/custom.css +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/_static/links.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/_static/runner_non_inherit.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/biblio.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/changelog-v0.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/conf.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/adapters/imageleftaction.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/adapters/imagerightaction.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/adapters/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/constants/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/bipart/bipart-helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/bipart/bipart.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/bipart/blocks-helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/bipart/blocks.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/bipart/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/matrix/bmat8-helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/matrix/bmat8.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/matrix/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/matrix/matrix-helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/matrix/matrix.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/pbr/class.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/pbr/helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/pbr/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/transformations/helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/transformations/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/transformations/perm.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/transformations/pperm.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/transformations/transf.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/congruence-kind.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/matrix-kind.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/order.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/paths-algorithm.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/side.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/tril.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/hpcombi/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/hpcombi/perm16.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/hpcombi/pperm16.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/hpcombi/ptransf16.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/hpcombi/transf16.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/hpcombi/vect16.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/order/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/examples.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/inverse-present.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/obvinf.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/present-helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/present.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/suffix-trees/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/suffix-trees/ukkonen-helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/suffix-trees/ukkonen.node.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/suffix-trees/ukkonen.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/suffix-trees/ukkonen.state.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/to-function.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/tries/class.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/tries/helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/tries/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/visualisation/dot.edge.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/visualisation/dot.kind.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/visualisation/dot.node.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/visualisation/dot.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/visualisation/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/forest-helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/forest.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/gabow.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/joiner.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/meeter.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/paths-helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/paths.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/word-graph-helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/word-graph.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/words/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/words/string-range.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/words/to-string.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/words/to-word.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/words/word-funcs.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/words/word-range.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/libsemigroups-error.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/libsemigroups.bib +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/action/action.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/action/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/action/leftaction.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/action/rightaction.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/congruence/class.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/congruence/helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/congruence/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/congruence/to-cong.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/core-classes/delta.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/core-classes/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/core-classes/report-guard.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/core-classes/reporter.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/core-classes/runner.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/core-classes/runner.state.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/froidure-pin/class.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/froidure-pin/helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/froidure-pin/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/kambites/class.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/kambites/helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/kambites/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/knuth-bendix/helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/knuth-bendix/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/knuth-bendix/knuth-bendix.options.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/knuth-bendix/knuth-bendix.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/konieczny/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/konieczny/konieczny.dclass.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/konieczny/konieczny.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/minimalreporc.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/reporc.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/sims1.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/sims2.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/simsrefinerfaithful.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/simsrefinerideals.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/simsstats.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/radoszewski-rytter/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/schreier-sims/class.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/schreier-sims/helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/schreier-sims/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/stephen/class.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/stephen/helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/stephen/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/accessors.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/common.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/index_to_word.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/init.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/modifiers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/settings.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/word_to_index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/helpers.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/index.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/to-todd-coxeter.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/todd-coxeter.options.rst +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/etc/check-docstring-indentation.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/etc/make-doc.sh +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/etc/replace-strings-in-doc.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/examples/not_renner_B_5_1.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/pyproject.toml +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/setup.cfg +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/setup.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/adapters.cpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/bmat8.cpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/cong-common.hpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/constants.cpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/errors.hpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/kbe.cpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/kbe.hpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/__init__.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/action.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/adapters.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/aho_corasick.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/bipartition.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/blocks.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/bmat8.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/congruence.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/detail/__init__.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/detail/congruence_common.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/detail/decorators.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/detail/dot.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/detail/tools.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/forest.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/froidure_pin.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/hpcombi.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/is_obviously_infinite.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/kambites.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/knuth_bendix.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/konieczny.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/matrix.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/paths.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/pbr.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/presentation/examples.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/schreier_sims.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/sims.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/stephen.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/to.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/todd_coxeter.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/transf.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/ukkonen.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/word_graph.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/words.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11.egg-info/dependency_links.txt +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11.egg-info/requires.txt +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11.egg-info/top_level.txt +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/main.cpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/ranges.cpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/to-cong.cpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/to-froidure-pin.cpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/to-knuth-bendix.cpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/to-presentation.cpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/to-todd-coxeter.cpp +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/__init__.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/cong_common.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/runner.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_action.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_adapters.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_aho_corasick.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_bipart.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_bmat8.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_cong.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_constants.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_delta.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_dot.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_forest.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_froidure_pin.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_gabow.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_hpcombi.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_kambites.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_knuth_bendix.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_konieczny.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_matrix.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_obvinf.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_paths.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_pbr.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_presentation_examples.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_runner.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_schreier_sims.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_sims.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_stephen.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_to.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_todd_coxeter.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_transf.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_ukkonen.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_word_graph.py +0 -0
- {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_word_range.py +0 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
default_install_hook_types: [pre-commit, pre-push]
|
|
2
|
+
|
|
3
|
+
repos:
|
|
4
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
5
|
+
rev: v0.16.2
|
|
6
|
+
hooks:
|
|
7
|
+
- id: ruff-check
|
|
8
|
+
- id: ruff-format
|
|
9
|
+
- repo: https://github.com/pre-commit/mirrors-clang-format
|
|
10
|
+
rev: v15.0.7
|
|
11
|
+
hooks:
|
|
12
|
+
- id: clang-format
|
|
13
|
+
files: ^src/.*\.(c|h)pp$
|
|
14
|
+
- repo: https://github.com/cpplint/cpplint
|
|
15
|
+
rev: 2.0.2
|
|
16
|
+
hooks:
|
|
17
|
+
- id: cpplint
|
|
18
|
+
stages: ["pre-push"]
|
|
19
|
+
files: ^src/.*\.(c|h)pp$
|
|
20
|
+
args: ["--repository=include", "--extensions=cpp,hpp"]
|
|
21
|
+
- repo: https://github.com/codespell-project/codespell
|
|
22
|
+
rev: v2.4.2
|
|
23
|
+
hooks:
|
|
24
|
+
- id: codespell
|
|
25
|
+
stages: ["pre-push"]
|
|
26
|
+
- repo: local
|
|
27
|
+
hooks:
|
|
28
|
+
- id: pylint
|
|
29
|
+
name: pylint
|
|
30
|
+
entry: pylint
|
|
31
|
+
language: system
|
|
32
|
+
args:
|
|
33
|
+
[
|
|
34
|
+
"-rn", # Only display messages
|
|
35
|
+
"-sn", # Don't display the score
|
|
36
|
+
]
|
|
37
|
+
types: [python]
|
|
38
|
+
exclude: ^(?:build_tools|etc)/
|
|
39
|
+
require_serial: true
|
|
40
|
+
stages: [pre-push]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: libsemigroups_pybind11
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.5
|
|
4
4
|
Summary: A python package for the libsemigroups C++ library.
|
|
5
5
|
Author-email: Reinis Cirpons <rc234@st-andrews.ac.uk>, Joseph Edwards <jde1@st-andrews.ac.uk>, James Mitchell <jdm3@st-andrews.ac.uk>, Maria Tsalakou <mt200@st-andrews.ac.uk>, Murray Whyte <mw231@st-andrews.ac.uk>
|
|
6
6
|
License-Expression: GPL-3.0-or-later
|
|
@@ -188,10 +188,10 @@ uv pip install .
|
|
|
188
188
|
To build `libsemigroups_pybind11` from a release archive:
|
|
189
189
|
|
|
190
190
|
```console
|
|
191
|
-
curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-1.4.
|
|
192
|
-
tar -xf libsemigroups_pybind11-1.4.
|
|
193
|
-
rm -f libsemigroups_pybind11-1.4.
|
|
194
|
-
cd libsemigroups_pybind11-1.4.
|
|
191
|
+
curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-1.4.5.tar.gz
|
|
192
|
+
tar -xf libsemigroups_pybind11-1.4.5.tar.gz
|
|
193
|
+
rm -f libsemigroups_pybind11-1.4.5.tar.gz
|
|
194
|
+
cd libsemigroups_pybind11-1.4.5
|
|
195
195
|
pip install .
|
|
196
196
|
```
|
|
197
197
|
|
|
@@ -150,10 +150,10 @@ uv pip install .
|
|
|
150
150
|
To build `libsemigroups_pybind11` from a release archive:
|
|
151
151
|
|
|
152
152
|
```console
|
|
153
|
-
curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-1.4.
|
|
154
|
-
tar -xf libsemigroups_pybind11-1.4.
|
|
155
|
-
rm -f libsemigroups_pybind11-1.4.
|
|
156
|
-
cd libsemigroups_pybind11-1.4.
|
|
153
|
+
curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-1.4.5.tar.gz
|
|
154
|
+
tar -xf libsemigroups_pybind11-1.4.5.tar.gz
|
|
155
|
+
rm -f libsemigroups_pybind11-1.4.5.tar.gz
|
|
156
|
+
cd libsemigroups_pybind11-1.4.5
|
|
157
157
|
pip install .
|
|
158
158
|
```
|
|
159
159
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
Authors
|
|
11
11
|
=======
|
|
12
12
|
|
|
13
|
-
- `Reinis Cirpons`_ (rc234@st-andrews.ac.uk)
|
|
13
|
+
- `Reinis Cirpons`_ (rc234@st-andrews.ac.uk)
|
|
14
14
|
- `Joseph Edwards`_ (jde1@st-andrews.ac.uk)
|
|
15
15
|
- `James Mitchell`_ (jdm3@st-andrews.ac.uk)
|
|
16
16
|
- `Maria Tsalakou`_ (mt200@st-andrews.ac.uk)
|
|
@@ -8,6 +8,18 @@
|
|
|
8
8
|
Changelog - version 1
|
|
9
9
|
=====================
|
|
10
10
|
|
|
11
|
+
v1.4.5 (released 28/11/2026)
|
|
12
|
+
----------------------------
|
|
13
|
+
|
|
14
|
+
This release contains a small number of improvements and bugfixes, including
|
|
15
|
+
bumping the required version of libsemigroups_ to the latest release (v3.6.2).
|
|
16
|
+
|
|
17
|
+
v1.4.4 (released 08/05/2026)
|
|
18
|
+
----------------------------
|
|
19
|
+
|
|
20
|
+
This release contains a large number of fixes to the documentation, and some
|
|
21
|
+
minor issues in the C++ code were also resolved.
|
|
22
|
+
|
|
11
23
|
v1.4.3 (released 16/04/2026)
|
|
12
24
|
----------------------------
|
|
13
25
|
|
|
@@ -99,11 +111,11 @@ This is a major release that significantly expands the API of
|
|
|
99
111
|
``libsemigroups_pybind11`` to expose much of the functionality implemented in
|
|
100
112
|
version 3 of libsemigroups_. The extent of the changes made in this release
|
|
101
113
|
means that it is likely that any code written with earlier versions of
|
|
102
|
-
``
|
|
114
|
+
``libsemigroups_pybind11`` will no longer work.
|
|
103
115
|
|
|
104
116
|
The structure of ``libsemigroups_pybind11`` is very tightly linked to the
|
|
105
117
|
structure of libsemigroups_. Therefore, some of the differences between
|
|
106
|
-
v0.10.1 and v1.0.0 of ``
|
|
118
|
+
v0.10.1 and v1.0.0 of ``libsemigroups_pybind11`` will be related to the
|
|
107
119
|
differences between v2 and v3 of libsemigroups_, such as changes to class names
|
|
108
120
|
and interfaces. These changes can be found in the
|
|
109
121
|
`libsemigroups changelog <https://libsemigroups.github.io/libsemigroups/md_changelog-v3.html>`_.
|
|
@@ -53,8 +53,7 @@ of the returned :any:`InversePresentation` will be :math:`\{0, 1, \dots, n-1, n,
|
|
|
53
53
|
\dots, 2n-1\}`, where the inverse of letter :math:`i` is the letter :math:`i +
|
|
54
54
|
n\, (\text{mod }2n)`.
|
|
55
55
|
|
|
56
|
-
This function
|
|
57
|
-
``p.throw_if_bad_alphabet_or_rules()`` throws.
|
|
56
|
+
This function raises an exception if ``p.throw_if_bad_alphabet_or_rules()`` does.
|
|
58
57
|
|
|
59
58
|
.. seealso::
|
|
60
59
|
|
|
@@ -95,11 +94,11 @@ specify the following values for *args*:
|
|
|
95
94
|
Additionally, specify one of the following for *rtype*:
|
|
96
95
|
|
|
97
96
|
- ``(InversePresentation, str)`` for constructing an
|
|
98
|
-
|
|
97
|
+
:any:`InversePresentation` over words of type ``str``.
|
|
99
98
|
- ``(InversePresentation, list[int])`` for constructing an
|
|
100
99
|
:any:`InversePresentation` over words of type ``list[int]``.
|
|
101
100
|
|
|
102
|
-
This function behaves in one of two ways, depending on type of words in *
|
|
101
|
+
This function behaves in one of two ways, depending on type of words in *ip*, and
|
|
103
102
|
the type of words specified in *rtype*:
|
|
104
103
|
|
|
105
104
|
1. When the type of words in *ip* and type of words specified in *rtype*
|
|
@@ -119,9 +118,9 @@ letter is of type ``str``, then the conversion from one type to another is
|
|
|
119
118
|
of type ``list[int]``, then the conversion from one type to another is
|
|
120
119
|
:math:`a_i \mapsto` ``human_readable_letter(a_i)``.
|
|
121
120
|
|
|
122
|
-
This function
|
|
123
|
-
not the same as that specified in *rtype*
|
|
124
|
-
``p.throw_if_bad_alphabet_rules_or_inverses()``
|
|
121
|
+
This function raises a :any:`LibsemigroupsError` if the type of words in *ip* is
|
|
122
|
+
not the same as that specified in *rtype* or
|
|
123
|
+
``p.throw_if_bad_alphabet_rules_or_inverses()`` raises.
|
|
125
124
|
|
|
126
125
|
.. seealso::
|
|
127
126
|
|
|
@@ -152,8 +151,8 @@ not the same as that specified in *rtype* and
|
|
|
152
151
|
|
|
153
152
|
.. _inverse-presentation-and-function-to-inverse-presentation:
|
|
154
153
|
|
|
155
|
-
Converting an :any:`InversePresentation` to
|
|
156
|
-
|
|
154
|
+
Converting an :any:`InversePresentation` to an :any:`InversePresentation` with a function
|
|
155
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
157
156
|
|
|
158
157
|
To construct a :any:`InversePresentation` from a :any:`InversePresentation`
|
|
159
158
|
using a custom letter conversion function, specify the following values for
|
|
@@ -177,8 +176,8 @@ This function returns an :any:`InversePresentation` equivalent to the input
|
|
|
177
176
|
parameter *f* specifies how to map the letters of one :any:`InversePresentation`
|
|
178
177
|
to the other.
|
|
179
178
|
|
|
180
|
-
This function
|
|
181
|
-
``ip.throw_if_bad_alphabet_rules_or_inverses()``
|
|
179
|
+
This function raises a :any:`LibsemigroupsError` if
|
|
180
|
+
``ip.throw_if_bad_alphabet_rules_or_inverses()`` raises, or if the function
|
|
182
181
|
specified by *f* does not map letters of the type used in *ip* to letters of the
|
|
183
182
|
type of word specified in *rtype*.
|
|
184
183
|
|
|
@@ -72,9 +72,9 @@ letter is of type ``str``, then the conversion from one type to another is
|
|
|
72
72
|
of type ``list[int]``, then the conversion from one type to another is
|
|
73
73
|
:math:`a_i \mapsto` ``human_readable_letter(a_i)``.
|
|
74
74
|
|
|
75
|
-
This function
|
|
76
|
-
not the same as that specified in *rtype*,
|
|
77
|
-
``p.throw_if_bad_alphabet_or_rules()``
|
|
75
|
+
This function raises a :any:`LibsemigroupsError` if the type of words in *p* is
|
|
76
|
+
not the same as that specified in *rtype*, or
|
|
77
|
+
``p.throw_if_bad_alphabet_or_rules()`` raises.
|
|
78
78
|
|
|
79
79
|
.. seealso::
|
|
80
80
|
|
|
@@ -128,8 +128,8 @@ example, can be used to convert from :any:`str` to :any:`int`). The second
|
|
|
128
128
|
parameter *f* specifies how to map the letters of one :any:`Presentation` to the
|
|
129
129
|
other.
|
|
130
130
|
|
|
131
|
-
This function
|
|
132
|
-
``p.throw_if_bad_alphabet_or_rules()``
|
|
131
|
+
This function raises a :any:`LibsemigroupsError` if
|
|
132
|
+
``p.throw_if_bad_alphabet_or_rules()`` raises, or if the function specified by
|
|
133
133
|
*f* does not map letters of the type used in *p* to letters of the type of word
|
|
134
134
|
specified in *rtype*.
|
|
135
135
|
|
|
@@ -175,7 +175,7 @@ Additionally, specify one of the following for *rtype*:
|
|
|
175
175
|
the same type as that in *kb*.
|
|
176
176
|
- ``(Presentation, str)`` for constructing a :any:`Presentation` over words
|
|
177
177
|
of type ``str``.
|
|
178
|
-
- ``(Presentation, list[int]`` for constructing a :any:`Presentation` over
|
|
178
|
+
- ``(Presentation, list[int])`` for constructing a :any:`Presentation` over
|
|
179
179
|
words of type ``list[int]``.
|
|
180
180
|
|
|
181
181
|
This function constructs and returns a :any:`Presentation` object using the
|
|
@@ -101,10 +101,10 @@ To build ``libsemigroups_pybind11`` from a release archive:
|
|
|
101
101
|
|
|
102
102
|
::
|
|
103
103
|
|
|
104
|
-
$ curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-1.4.
|
|
105
|
-
$ tar -xf libsemigroups_pybind11-1.4.
|
|
106
|
-
$ rm -f libsemigroups_pybind11-1.4.
|
|
107
|
-
$ cd libsemigroups_pybind11-1.4.
|
|
104
|
+
$ curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-1.4.5.tar.gz
|
|
105
|
+
$ tar -xf libsemigroups_pybind11-1.4.5.tar.gz
|
|
106
|
+
$ rm -f libsemigroups_pybind11-1.4.5.tar.gz
|
|
107
|
+
$ cd libsemigroups_pybind11-1.4.5
|
|
108
108
|
$ pip install .
|
|
109
109
|
|
|
110
110
|
Building the documentation
|
|
@@ -52,7 +52,7 @@ The :any:`FroidurePin` object returned is isomorphic to the quotient of the
|
|
|
52
52
|
underlying semigroup or monoid of *cong* by the congruence represented by
|
|
53
53
|
*cong*.
|
|
54
54
|
|
|
55
|
-
This function
|
|
55
|
+
This function raises a :any:`LibsemigroupsError` if ``cong.kind`` is not
|
|
56
56
|
``congruence_kind.twosided``.
|
|
57
57
|
|
|
58
58
|
.. doctest:: Python
|
|
@@ -95,7 +95,7 @@ Additionally, specify the following for *rtype*:
|
|
|
95
95
|
The :any:`FroidurePin` object returned is isomorphic to the quotient semigroup
|
|
96
96
|
or monoid represented by *k*.
|
|
97
97
|
|
|
98
|
-
This function
|
|
98
|
+
This function raises a :any:`LibsemigroupsError` if the
|
|
99
99
|
:any:`Kambites.small_overlap_class` of *k* is not at least :math:`4`.
|
|
100
100
|
|
|
101
101
|
.. warning::
|
|
@@ -145,7 +145,7 @@ Additionally, specify the following for *rtype*:
|
|
|
145
145
|
The :any:`FroidurePin` object returned is isomorphic to the quotient semigroup
|
|
146
146
|
or monoid represented by *kb*.
|
|
147
147
|
|
|
148
|
-
This function
|
|
148
|
+
This function raises a :any:`LibsemigroupsError` if ``kb.kind()`` is not
|
|
149
149
|
``congruence.twosided``.
|
|
150
150
|
|
|
151
151
|
.. doctest:: Python
|
|
@@ -189,7 +189,7 @@ Additionally, specify the following for *rtype*:
|
|
|
189
189
|
The :any:`FroidurePin` object returned is isomorphic to the quotient semigroup
|
|
190
190
|
or monoid represented by *tc*.
|
|
191
191
|
|
|
192
|
-
This function
|
|
192
|
+
This function raises a :any:`LibsemigroupsError` if ``tc.kind()`` is not
|
|
193
193
|
``congruence.twosided``.
|
|
194
194
|
|
|
195
195
|
.. doctest:: Python
|
|
@@ -257,8 +257,8 @@ satisfies :math:`\{a, \ldots, b - 1\}f \subseteq \{a, \ldots, b - 1\}`, then
|
|
|
257
257
|
this function returns the :any:`FroidurePin` object corresponding to the
|
|
258
258
|
semigroup or monoid generated by the set of all such transformations.
|
|
259
259
|
|
|
260
|
-
This function
|
|
261
|
-
``throw_if_image_value_out_of_range``
|
|
260
|
+
This function raises a :any:`LibsemigroupsError` if
|
|
261
|
+
``throw_if_image_value_out_of_range`` raises for any of the constructed
|
|
262
262
|
generators. This can happen if, for example, the :any:`WordGraph` is not
|
|
263
263
|
complete (i.e. there exists an edge label and node for which there is no edge
|
|
264
264
|
with the given label and given source) or if there is an edge label such that
|
|
@@ -100,9 +100,9 @@ following values for *args*:
|
|
|
100
100
|
Additionally, specify one of the following for *rtype*:
|
|
101
101
|
|
|
102
102
|
- ``(KnuthBendix, 'RewriteTrie')`` for constructing a :any:`KnuthBendix`
|
|
103
|
-
with the ``RewriteTrie
|
|
103
|
+
with the ``RewriteTrie`` rewriter.
|
|
104
104
|
- ``(KnuthBendix, 'RewriteFromLeft')`` for constructing a :any:`KnuthBendix`
|
|
105
|
-
with the ``RewriteFromLeft
|
|
105
|
+
with the ``RewriteFromLeft`` rewriter.
|
|
106
106
|
|
|
107
107
|
This function converts a :any:`ToddCoxeter` object *tc* to a :any:`KnuthBendix`
|
|
108
108
|
object with the rewriter as specified above, using
|
|
@@ -155,21 +155,21 @@ following values for *args*:
|
|
|
155
155
|
Additionally, specify one of the following for *rtype*:
|
|
156
156
|
|
|
157
157
|
- ``(KnuthBendix, str, 'RewriteTrie')`` for constructing a
|
|
158
|
-
:any:`KnuthBendix` on words with type ``str`` using the ``RewriteTrie
|
|
158
|
+
:any:`KnuthBendix` on words with type ``str`` using the ``RewriteTrie``
|
|
159
159
|
rewriter.
|
|
160
160
|
- ``(KnuthBendix, list[int], 'RewriteTrie')`` for constructing a
|
|
161
161
|
:any:`KnuthBendix` on words with type ``list[int]`` using the
|
|
162
|
-
``RewriteTrie
|
|
162
|
+
``RewriteTrie`` rewriter.
|
|
163
163
|
- ``(KnuthBendix, str, 'RewriteFromLeft')`` for constructing a
|
|
164
164
|
:any:`KnuthBendix` on words with type ``str`` using the
|
|
165
|
-
``RewriteFromLeft
|
|
165
|
+
``RewriteFromLeft`` rewriter.
|
|
166
166
|
- ``(KnuthBendix, list[int], 'RewriteFromLeft')`` for constructing a
|
|
167
167
|
:any:`KnuthBendix` on words with type ``list[int]`` using the
|
|
168
|
-
``RewriteFromLeft
|
|
168
|
+
``RewriteFromLeft`` rewriter.
|
|
169
169
|
|
|
170
170
|
This function converts a :any:`FroidurePin` object *fpb* to a :any:`KnuthBendix`
|
|
171
171
|
object with the word type and rewriter as specified above. This is done using
|
|
172
|
-
the presentation obtained from ``to(fpb, rtype=(Presentation, Word)`` where
|
|
172
|
+
the presentation obtained from ``to(fpb, rtype=(Presentation, Word))`` where
|
|
173
173
|
``Word`` is either ``str`` or ``list[int]``.
|
|
174
174
|
|
|
175
175
|
This returned :any:`KnuthBendix` object represents the trivial congruence over
|
|
@@ -3,6 +3,7 @@ import sys
|
|
|
3
3
|
from glob import iglob
|
|
4
4
|
|
|
5
5
|
from bs4 import BeautifulSoup
|
|
6
|
+
from bs4.element import Tag
|
|
6
7
|
|
|
7
8
|
BOLD_TEXT = "\033[1m"
|
|
8
9
|
YELLOW = "\033[93m"
|
|
@@ -20,7 +21,7 @@ def warn(message):
|
|
|
20
21
|
print(YELLOW + f"WARNING: {message}" + END_COLOUR)
|
|
21
22
|
|
|
22
23
|
|
|
23
|
-
def extract_signature(func, func_name) -> tuple[dict[str, str], str]:
|
|
24
|
+
def extract_signature(func: Tag, func_name: str) -> tuple[dict[str, str], str]:
|
|
24
25
|
"""Extract the parameters and typehints from the signature of a function
|
|
25
26
|
|
|
26
27
|
This function interrogates the signature of a function and returns:
|
|
@@ -31,6 +32,8 @@ def extract_signature(func, func_name) -> tuple[dict[str, str], str]:
|
|
|
31
32
|
return_typehint = ""
|
|
32
33
|
sig = func.find("dt", class_="sig sig-object py")
|
|
33
34
|
for param in sig.find_all("em", class_="sig-param"):
|
|
35
|
+
if param.find("span", class_="keyword-only-separator"):
|
|
36
|
+
continue
|
|
34
37
|
param_component = param.find_all("span", class_="n")
|
|
35
38
|
if len(param_component) == 0 or len(param_component) > 2:
|
|
36
39
|
warn(f"unexpected element in doc of {func_name}. Skipping . . .")
|
|
@@ -44,7 +47,7 @@ def extract_signature(func, func_name) -> tuple[dict[str, str], str]:
|
|
|
44
47
|
return param_to_typehint, return_typehint
|
|
45
48
|
|
|
46
49
|
|
|
47
|
-
def extract_documented_signature(func, name) -> tuple[dict[str, str], str]:
|
|
50
|
+
def extract_documented_signature(func: Tag, name: str) -> tuple[dict[str, str], str]:
|
|
48
51
|
"""Extract the parameters and typehints from the docstring of a function
|
|
49
52
|
|
|
50
53
|
This function interrogates the docstring of a function and returns:
|
|
@@ -530,7 +530,7 @@ This function returns the point obtained by applying the action defined by
|
|
|
530
530
|
"side",
|
|
531
531
|
R"pbdoc(
|
|
532
532
|
The values in this enum can be used to indicate that the action in an
|
|
533
|
-
:any:`Action` instance should be a left action.
|
|
533
|
+
:any:`Action` instance should be a left or right action.
|
|
534
534
|
|
|
535
535
|
The valid values are:
|
|
536
536
|
|
|
@@ -541,7 +541,7 @@ The valid values are:
|
|
|
541
541
|
left action.
|
|
542
542
|
|
|
543
543
|
.. py:attribute:: side.right
|
|
544
|
-
:value: <side.
|
|
544
|
+
:value: <side.right: 1>
|
|
545
545
|
|
|
546
546
|
Value indicating that the action in an :any:`Action` instance should be a
|
|
547
547
|
right action.
|
|
@@ -54,8 +54,7 @@ The implementation of :any:`AhoCorasick` uses two different types of node;
|
|
|
54
54
|
in the trie. An inactive node is a node that used to be part of the trie, but
|
|
55
55
|
has since been removed. It may later become active again after being
|
|
56
56
|
reinitialised, and exists as a way of minimising how frequently memory needs
|
|
57
|
-
to be allocated and deallocated for nodes.
|
|
58
|
-
given index *i* corresponds to an active node.
|
|
57
|
+
to be allocated and deallocated for nodes.
|
|
59
58
|
|
|
60
59
|
Several helper functions are provided in the ``aho_corasick`` module, documented
|
|
61
60
|
:doc:`here <helpers>`.
|
|
@@ -107,10 +106,11 @@ This function returns the index of the child of the node with index
|
|
|
107
106
|
:param letter: the edge-label connecting the parent to the desired child.
|
|
108
107
|
:type letter: int
|
|
109
108
|
|
|
110
|
-
:returns:
|
|
109
|
+
:returns: The index of the child.
|
|
111
110
|
:rtype: int | Undefined
|
|
112
111
|
|
|
113
|
-
:raises LibsemigroupsError:
|
|
112
|
+
:raises LibsemigroupsError:
|
|
113
|
+
if ``throw_if_node_index_not_active(parent)`` raises an exception.
|
|
114
114
|
|
|
115
115
|
:complexity: Constant.
|
|
116
116
|
|
|
@@ -127,10 +127,11 @@ Calculate the height of a node.
|
|
|
127
127
|
:param i: the index of the node whose height is sought
|
|
128
128
|
:type i: int
|
|
129
129
|
|
|
130
|
-
:returns:
|
|
130
|
+
:returns: The height.
|
|
131
131
|
:rtype: int
|
|
132
132
|
|
|
133
|
-
:raises LibsemigroupsError:
|
|
133
|
+
:raises LibsemigroupsError:
|
|
134
|
+
if ``throw_if_node_index_not_active(i)`` raises an exception.
|
|
134
135
|
|
|
135
136
|
:complexity:
|
|
136
137
|
Linear in the return value which is, at worst, the maximum length
|
|
@@ -158,9 +159,9 @@ if it had been newly default constructed.
|
|
|
158
159
|
R"pbdoc(
|
|
159
160
|
Returns the number of nodes in the trie.
|
|
160
161
|
|
|
161
|
-
This function
|
|
162
|
+
This function returns the number of nodes in the trie.
|
|
162
163
|
|
|
163
|
-
:returns: The number of nodes
|
|
164
|
+
:returns: The number of nodes.
|
|
164
165
|
:rtype: int
|
|
165
166
|
|
|
166
167
|
:complexity: Constant
|
|
@@ -206,7 +207,8 @@ the longest proper suffix of :math:`W` contained in the trie.
|
|
|
206
207
|
:returns: The index of the suffix link.
|
|
207
208
|
:rtype: int
|
|
208
209
|
|
|
209
|
-
:raises LibsemigroupsError:
|
|
210
|
+
:raises LibsemigroupsError:
|
|
211
|
+
if ``throw_if_node_index_not_active(current)`` raises an exception.
|
|
210
212
|
|
|
211
213
|
:complexity: Linear in the height of the node.
|
|
212
214
|
|
|
@@ -240,10 +242,10 @@ trie.
|
|
|
240
242
|
:returns: The index of the node traversed to
|
|
241
243
|
:rtype: int
|
|
242
244
|
|
|
243
|
-
:raises LibsemigroupsError:
|
|
245
|
+
:raises LibsemigroupsError:
|
|
246
|
+
if ``throw_if_node_index_not_active(current)`` raises an exception.
|
|
244
247
|
|
|
245
248
|
.. seealso:: :any:`throw_if_node_index_not_active`.
|
|
246
|
-
|
|
247
249
|
)pbdoc");
|
|
248
250
|
|
|
249
251
|
thing.def("throw_if_node_index_not_active",
|
|
@@ -257,8 +259,9 @@ Check if an index corresponds to a node currently in the trie.
|
|
|
257
259
|
:param i: the index to validate
|
|
258
260
|
:type i: int
|
|
259
261
|
|
|
260
|
-
:raises LibsemigroupsError:
|
|
261
|
-
|
|
262
|
+
:raises LibsemigroupsError:
|
|
263
|
+
if ``throw_if_node_index_out_of_range(i)`` raises an exception, or if *i* is
|
|
264
|
+
not an active node.
|
|
262
265
|
|
|
263
266
|
:complexity: Constant
|
|
264
267
|
|
|
@@ -351,8 +354,7 @@ Add a word to the trie of *ac*
|
|
|
351
354
|
Calling this function immediately adds the word *w* to the trie of *ac*, and
|
|
352
355
|
makes the final node on the path labelled by this word terminal (if it
|
|
353
356
|
wasn't already). After adding a word, existing suffix links become
|
|
354
|
-
invalid.
|
|
355
|
-
this function does nothing.
|
|
357
|
+
invalid.
|
|
356
358
|
|
|
357
359
|
:param ac: object whose trie is to be added to
|
|
358
360
|
:type ac: AhoCorasick
|
|
@@ -364,6 +366,9 @@ this function does nothing.
|
|
|
364
366
|
This node will have a :any:`signature` equal to that of *w*.
|
|
365
367
|
:rtype: int
|
|
366
368
|
|
|
369
|
+
:raises LibsemigroupsError:
|
|
370
|
+
if an identical word has already been added to the trie of *ac*.
|
|
371
|
+
|
|
367
372
|
:complexity: Linear in the length of *w*.
|
|
368
373
|
|
|
369
374
|
.. seealso:: :any:`AhoCorasick.signature`
|
|
@@ -397,10 +402,9 @@ that correspond to the largest suffix *w*, such that each :math:`n_i` has either
|
|
|
397
402
|
zero children or one. After this, existing suffix links become invalid.
|
|
398
403
|
|
|
399
404
|
If *w* corresponds to a terminal node :math:`n` with children, then calling this
|
|
400
|
-
function makes :math
|
|
405
|
+
function makes :math:`n` not terminal.
|
|
401
406
|
|
|
402
|
-
If *w* does not correspond to a terminal node, then
|
|
403
|
-
nothing.
|
|
407
|
+
If *w* does not correspond to a terminal node, then this function raises an exception.
|
|
404
408
|
|
|
405
409
|
:param ac: the trie.
|
|
406
410
|
:type ac: AhoCorasick
|
|
@@ -411,6 +415,9 @@ nothing.
|
|
|
411
415
|
:returns: The index corresponding to the node with signature equal to *w*.
|
|
412
416
|
:rtype: int
|
|
413
417
|
|
|
418
|
+
:raises LibsemigroupsError:
|
|
419
|
+
if *w* does not correspond to a terminal node.
|
|
420
|
+
|
|
414
421
|
:complexity: Linear in the length of *w*.
|
|
415
422
|
|
|
416
423
|
.. seealso:: :any:`AhoCorasick.signature`
|
|
@@ -319,7 +319,7 @@ The parameter *lookup*:
|
|
|
319
319
|
* must have length :math:`2n` for some positive integer :math:`n`;
|
|
320
320
|
* consist of non-negative integers; and
|
|
321
321
|
* have the property that if :math:`i`, :math:`i > 0` occurs in *lookup*,
|
|
322
|
-
then :math:`i - 1` occurs earlier in *lookup*. The value of ``
|
|
322
|
+
then :math:`i - 1` occurs earlier in *lookup*. The value of ``lookup[i]``
|
|
323
323
|
should represent the index of the block containing ``i``.
|
|
324
324
|
|
|
325
325
|
For example, if *lookup* is ``[0, 1, 1, 2, 1, 1, 3, 1, 1, 4, 5, 6]``, then
|
|
@@ -503,13 +503,13 @@ are referred to as the *transverse* blocks.
|
|
|
503
503
|
&Bipartition::one,
|
|
504
504
|
py::arg("n"),
|
|
505
505
|
R"pbdoc(
|
|
506
|
-
:sig=(
|
|
506
|
+
:sig=(n: int) -> Bipartition:
|
|
507
507
|
|
|
508
508
|
Return the identity bipartition of given degree.
|
|
509
509
|
|
|
510
510
|
Returns the identity bipartition of degree ``n``. The *identity bipartition* of
|
|
511
|
-
degree :math:`n` has blocks :math:`\{i, -i\}` for all :math:`i\in \{
|
|
512
|
-
n
|
|
511
|
+
degree :math:`n` has blocks :math:`\{i, -i\}` for all :math:`i\in \{1, \ldots,
|
|
512
|
+
n\}`. This member function returns a new identity bipartition of degree
|
|
513
513
|
equal to ``n``.
|
|
514
514
|
|
|
515
515
|
:param n: the degree of the identity to be returned.
|
|
@@ -547,7 +547,7 @@ returned list is ``True`` if the block with index ``i`` is transverse and
|
|
|
547
547
|
Return the identity bipartition with the same degree as the given bipartition.
|
|
548
548
|
|
|
549
549
|
The *identity bipartition* of degree :math:`n` has blocks :math:`\{i, -i\}` for
|
|
550
|
-
all :math:`i\in \{
|
|
550
|
+
all :math:`i\in \{1, \ldots, n\}`. This function returns a new identity
|
|
551
551
|
bipartition of degree equal to the degree of *self*.
|
|
552
552
|
|
|
553
553
|
:param f: a bipartition
|
|
@@ -569,7 +569,7 @@ partition* of a bipartition *f* is the partition of a subset :math:`P` of
|
|
|
569
569
|
|
|
570
570
|
- :math:`\{|y|\mid y\in P\} = \{1, \ldots, n\}` ;
|
|
571
571
|
- a block of the partition consists of negative numbers if and only if
|
|
572
|
-
the corresponding block of *
|
|
572
|
+
the corresponding block of *f* is a transverse block.
|
|
573
573
|
|
|
574
574
|
:param f: the bipartition
|
|
575
575
|
:type f: Bipartition
|
|
@@ -622,7 +622,7 @@ at random from among all bipartitions of degree equal to *deg*.
|
|
|
622
622
|
:rtype: Bipartition
|
|
623
623
|
|
|
624
624
|
:raises LibsemigroupsError:
|
|
625
|
-
if
|
|
625
|
+
if *deg* is too large. The implementation depends on
|
|
626
626
|
computing several values that can easily exceed the maximum value of any
|
|
627
627
|
fixed precision integer or float type. When this occurs this exception is
|
|
628
628
|
thrown.)pbdoc");
|
|
@@ -227,7 +227,7 @@ of kind *knd* over the semigroup or monoid defined by the presentation *p*.
|
|
|
227
227
|
|
|
228
228
|
{detail}
|
|
229
229
|
|
|
230
|
-
:param knd: the kind (onesided or twosided) of the congruence.
|
|
230
|
+
:param knd: the kind (`onesided` or `twosided`) of the congruence.
|
|
231
231
|
:type knd: congruence_kind
|
|
232
232
|
|
|
233
233
|
:param p: the presentation.
|
|
@@ -307,13 +307,13 @@ had been newly constructed from *knd* and *p*.
|
|
|
307
307
|
|
|
308
308
|
{detail}
|
|
309
309
|
|
|
310
|
-
:param knd: the kind (onesided or twosided) of the congruence.
|
|
310
|
+
:param knd: the kind (`onesided` or `twosided`) of the congruence.
|
|
311
311
|
:type knd: :any:`congruence_kind`
|
|
312
312
|
|
|
313
313
|
:param p: the presentation.
|
|
314
314
|
:type p: Presentation
|
|
315
315
|
|
|
316
|
-
:returns:
|
|
316
|
+
:returns: *self*.
|
|
317
317
|
:rtype: {name}
|
|
318
318
|
|
|
319
319
|
:raises LibsemigroupsError: if *p* is not valid.
|
|
@@ -862,7 +862,7 @@ input word.
|
|
|
862
862
|
&Thing::generating_pairs,
|
|
863
863
|
make_doc(
|
|
864
864
|
R"pbdoc(
|
|
865
|
-
:sig=(self
|
|
865
|
+
:sig=(self: {name}) -> list[list[int] | str]:
|
|
866
866
|
{only_document_once}
|
|
867
867
|
|
|
868
868
|
Get the generating pairs of the congruence.
|
|
@@ -989,7 +989,7 @@ presentation, then this presentation is returned by this function.
|
|
|
989
989
|
py::arg(extra_doc.var.data()),
|
|
990
990
|
py::arg("words"),
|
|
991
991
|
make_doc(R"pbdoc(
|
|
992
|
-
:sig=({var}: {name}, words: list[list[int] | str]) -> list[list[list[int]] | list[str]]:
|
|
992
|
+
:sig=({var}: {name}, words: list[list[int] | str]) -> list[list[list[int]]] | list[list[str]]:
|
|
993
993
|
{only_document_once}
|
|
994
994
|
|
|
995
995
|
Partition a list of words.
|
|
@@ -1007,7 +1007,7 @@ triggers a full enumeration of *{var}*.
|
|
|
1007
1007
|
:type words: list[list[int] | str]
|
|
1008
1008
|
|
|
1009
1009
|
:returns: The partitioned list of words.
|
|
1010
|
-
:rtype: list[list[list[int]] | list[str]]
|
|
1010
|
+
:rtype: list[list[list[int]]] | list[list[str]]
|
|
1011
1011
|
|
|
1012
1012
|
{raises}
|
|
1013
1013
|
)pbdoc",
|
|
@@ -1057,7 +1057,7 @@ triggers a full enumeration of *{var}*.
|
|
|
1057
1057
|
py::arg("words"),
|
|
1058
1058
|
make_doc(
|
|
1059
1059
|
R"pbdoc(
|
|
1060
|
-
:sig=({var}: {name}, words: list[list[int] | str]) -> list[list[list[int]] | list[str]]:
|
|
1060
|
+
:sig=({var}: {name}, words: list[list[int] | str]) -> list[list[list[int]]] | list[list[str]]:
|
|
1061
1061
|
{only_document_once}
|
|
1062
1062
|
|
|
1063
1063
|
Find the non-trivial classes in the partition of a list of words.
|
|
@@ -1074,8 +1074,8 @@ instance *{var}*.
|
|
|
1074
1074
|
:param words: the input list of words.
|
|
1075
1075
|
:type words: list[list[int] | str]
|
|
1076
1076
|
|
|
1077
|
-
:returns: The partition of the input list.
|
|
1078
|
-
:rtype: list[list[list[int]] | list[str]]
|
|
1077
|
+
:returns: The non-trivial classes in the partition of the input list.
|
|
1078
|
+
:rtype: list[list[list[int]]] | list[list[str]]
|
|
1079
1079
|
|
|
1080
1080
|
{raises})pbdoc",
|
|
1081
1081
|
class_name,
|
|
@@ -227,7 +227,7 @@ contained in a :any:`Congruence` object.
|
|
|
227
227
|
R"pbdoc(
|
|
228
228
|
:sig=(c: Congruence) -> bool:
|
|
229
229
|
|
|
230
|
-
Function for checking if a congruence obviously has
|
|
230
|
+
Function for checking if a congruence obviously has infinitely many
|
|
231
231
|
classes.
|
|
232
232
|
|
|
233
233
|
This function returns ``True`` if the quotient of the finitely presented
|