.. currentmodule:: libsemigroups_pybind11
This page contains the documentation for several functions for comparing words or strings with respect to certain reduction orderings.
.. seealso::
- :any:`Order`
- :any:`Alphabet`
Important
The following functions are deprecated in v1.5.0 and will be removed v2.0.0:
lexicographical_compare, please use :any:`lex_cmp` instead.recursive_path_compareplease use :any:`rev_rpo_cmp` instead.shortlex_compareplease use :any:`lenlex_cmp` instead.
.. autosummary::
:signatures: short
len_wt_lex_cmp
lenlex_cmp
lex_cmp
rev_len_wt_lex_cmp
rev_lenlex_cmp
rev_lex_cmp
rev_rpo_cmp
rev_wr_cmp
rev_wt_lenlex_cmp
rev_wt_lex_cmp
rpo_cmp
wr_cmp
wt_lenlex_cmp
wt_lex_cmp
.. autofunction:: len_wt_lex_cmp
.. autofunction:: lenlex_cmp
.. autofunction:: lex_cmp
.. autofunction:: rev_len_wt_lex_cmp
.. autofunction:: rev_lenlex_cmp
.. autofunction:: rev_lex_cmp
.. autofunction:: rev_rpo_cmp
.. autofunction:: rev_wr_cmp
.. autofunction:: rev_wt_lenlex_cmp
.. autofunction:: rev_wt_lex_cmp
.. autofunction:: rpo_cmp
.. autofunction:: wr_cmp
.. autofunction:: wt_lenlex_cmp
.. autofunction:: wt_lex_cmp