Skip to content

Commit f690707

Browse files
Add more missing functions to summary
Add missing Action functions to summary Add missing Congruence functions to summary Add missing FroidurePin functions to summary Add missing Kambites functions to summary Add missing KnuthBendix functions to summary Add missing Konieczny functions to summary Add missing Sims functions to summary Add missing SchreierSims functions to summary Add missing Stephen functions to summary Add missing ToddCoxeter functions to summary
1 parent 12a5543 commit f690707

File tree

26 files changed

+77
-66
lines changed

26 files changed

+77
-66
lines changed

docs/source/main-algorithms/action/action.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,16 @@ Contents
2323
~Action
2424
Action.add_generator
2525
Action.add_seed
26+
Action.apply
2627
Action.cache_scc_multipliers
28+
Action.copy
2729
Action.current_size
2830
Action.empty
31+
Action.generators
2932
Action.init
3033
Action.multiplier_from_scc_root
3134
Action.multiplier_to_scc_root
35+
Action.number_of_generators
3236
Action.position
3337
Action.reserve
3438
Action.root_of_scc

docs/source/main-algorithms/action/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ This page contains links to the documentation for the classes in
1717
:maxdepth: 1
1818

1919
action
20-
rightaction
2120
leftaction
21+
rightaction
2222
side

docs/source/main-algorithms/congruence/class.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,14 @@ Contents
2929
Congruence.get
3030
Congruence.has
3131
Congruence.init
32+
Congruence.kind
3233
Congruence.max_threads
3334
Congruence.number_of_classes
35+
Congruence.number_of_generating_pairs
3436
Congruence.number_of_runners
3537
Congruence.presentation
38+
Congruence.reduce
39+
Congruence.reduce_no_run
3640

3741
Full API
3842
--------

docs/source/main-algorithms/congruence/helpers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
The full license is in the file LICENSE, distributed with this software.
77

8-
Congruence helper functions
9-
===========================
8+
Congruence helpers
9+
==================
1010

1111
This page contains the documentation for various helper functions for
1212
manipulating :any:`Congruence` objects.

docs/source/main-algorithms/froidure-pin/class.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Contents
2020
.. autosummary::
2121
:signatures: short
2222

23+
~FroidurePin
2324
FroidurePin.add_generator
2425
FroidurePin.add_generators
2526
FroidurePin.batch_size
@@ -29,6 +30,7 @@ Contents
2930
FroidurePin.copy
3031
FroidurePin.copy_add_generators
3132
FroidurePin.copy_closure
33+
FroidurePin.current_elements
3234
FroidurePin.current_left_cayley_graph
3335
FroidurePin.current_length
3436
FroidurePin.current_max_word_length
@@ -54,6 +56,7 @@ Contents
5456
FroidurePin.number_of_idempotents
5557
FroidurePin.number_of_rules
5658
FroidurePin.position
59+
FroidurePin.position_of_generator
5760
FroidurePin.prefix
5861
FroidurePin.reserve
5962
FroidurePin.right_cayley_graph

docs/source/main-algorithms/froidure-pin/helpers.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Helper functions for FroidurePin objects
2-
========================================
1+
FroidurePin helpers
2+
===================
33

44
This page contains the documentation for various helper functions for
55
manipulating :any:`FroidurePin` objects.
@@ -12,9 +12,9 @@ Contents
1212
.. autosummary::
1313
:signatures: short
1414

15-
current_position
1615
current_minimal_factorisation
1716
current_normal_forms
17+
current_position
1818
current_rules
1919
equal_to
2020
factorisation

docs/source/main-algorithms/kambites/helpers.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
.. currentmodule:: libsemigroups_pybind11.kambites
99

10-
Kambites helper functions
11-
=========================
10+
Kambites helpers
11+
================
1212

1313
This page contains the documentation for various helper functions for
1414
manipulating :any:`Kambites` objects.
@@ -19,8 +19,8 @@ Contents
1919
.. autosummary::
2020
:signatures: short
2121

22-
normal_forms
2322
non_trivial_classes
23+
normal_forms
2424
partition
2525

2626
Full API

docs/source/main-algorithms/knuth-bendix/class/index.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Contents
2727

2828
~KnuthBendix
2929
KnuthBendix.active_rules
30+
KnuthBendix.add_generating_pair
3031
KnuthBendix.check_confluence_interval
3132
KnuthBendix.confluent
3233
KnuthBendix.confluent_known
@@ -36,11 +37,14 @@ Contents
3637
KnuthBendix.generating_pairs
3738
KnuthBendix.gilman_graph
3839
KnuthBendix.gilman_graph_node_labels
40+
KnuthBendix.init
41+
KnuthBendix.kind
3942
KnuthBendix.max_overlap
4043
KnuthBendix.max_pending_rules
4144
KnuthBendix.max_rules
4245
KnuthBendix.number_of_active_rules
4346
KnuthBendix.number_of_classes
47+
KnuthBendix.number_of_generating_pairs
4448
KnuthBendix.number_of_inactive_rules
4549
KnuthBendix.overlap_policy
4650
KnuthBendix.presentation
@@ -57,7 +61,7 @@ Full API
5761
:inherited-members:
5862
:exclude-members:
5963
options, run_for, run_until, run, finished, stopped, current_state, dead,
60-
internal_generating_pairs, kill, kind, last_report, report, report_every,
64+
internal_generating_pairs, kill, last_report, report, report_every,
6165
report_prefix, report_why_we_stopped, reset_last_report, reset_start_time,
6266
running, running_for, running_until, start_time, started, state,
6367
stopped_by_predicate, success, timed_out

docs/source/main-algorithms/knuth-bendix/helpers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
The full license is in the file LICENSE, distributed with this software.
77

8-
Knuth-Bendix helpers
9-
====================
8+
KnuthBendix helpers
9+
===================
1010

1111
This page contains the documentation for various helper functions for
1212
manipulating :any:`KnuthBendix` objects. All such functions are contained in the

docs/source/main-algorithms/low-index/classes/minimalreporc.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Contents
2121
:signatures: short
2222

2323
~MinimalRepOrc
24-
MinimalRepOrc.__init__
2524
MinimalRepOrc.add_excluded_pair
2625
MinimalRepOrc.add_included_pair
2726
MinimalRepOrc.add_pruner
@@ -41,13 +40,13 @@ Contents
4140
MinimalRepOrc.presentation
4241
MinimalRepOrc.pruners
4342
MinimalRepOrc.stats
43+
MinimalRepOrc.target_size
44+
MinimalRepOrc.word_graph
4445

4546
Full API
4647
--------
4748

4849
.. autoclass:: MinimalRepOrc
49-
:no-doc:
50-
:class-doc-from: class
50+
:class-doc-from: init
5151
:members:
5252
:inherited-members:
53-
:special-members: __init__

docs/source/main-algorithms/low-index/classes/reporc.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Contents
2121
:signatures: short
2222

2323
~RepOrc
24-
RepOrc.__init__
2524
RepOrc.add_excluded_pair
2625
RepOrc.add_included_pair
2726
RepOrc.add_pruner
@@ -36,18 +35,20 @@ Contents
3635
RepOrc.init
3736
RepOrc.long_rule_length
3837
RepOrc.long_rules
38+
RepOrc.max_nodes
39+
RepOrc.min_nodes
3940
RepOrc.number_of_long_rules
4041
RepOrc.number_of_threads
4142
RepOrc.presentation
4243
RepOrc.pruners
4344
RepOrc.stats
45+
RepOrc.target_size
46+
RepOrc.word_graph
4447

4548
Full API
4649
--------
4750

4851
.. autoclass:: RepOrc
49-
:no-doc:
50-
:class-doc-from: class
52+
:class-doc-from: init
5153
:members:
5254
:inherited-members:
53-
:special-members: __init__

docs/source/main-algorithms/low-index/classes/sims1.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ Contents
4949
Full API
5050
--------
5151

52-
..
53-
TODO(0) document __init__ directly, the same trick that works for RepOrc +
54-
MinimalRepOrc doesn't work here for some reason.
55-
5652
.. autoclass:: Sims1
5753
:class-doc-from: init
5854
:members:

docs/source/main-algorithms/low-index/classes/sims2.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ Contents
4949
Full API
5050
--------
5151

52-
..
53-
TODO(0) document __init__ directly, the same trick that works for RepOrc +
54-
MinimalRepOrc doesn't work here for some reason.
55-
5652
.. autoclass:: Sims2
5753
:class-doc-from: init
5854
:members:

docs/source/main-algorithms/low-index/classes/simsrefinerfaithful.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Contents
2121
:signatures: short
2222

2323
~SimsRefinerFaithful
24-
SimsRefinerFaithful.__init__
2524
SimsRefinerFaithful.__call__
2625
SimsRefinerFaithful.forbid
2726
SimsRefinerFaithful.init
@@ -30,8 +29,7 @@ Full API
3029
--------
3130

3231
.. autoclass:: SimsRefinerFaithful
33-
:no-doc:
34-
:class-doc-from: class
32+
:class-doc-from: init
3533
:members:
3634
:inherited-members:
37-
:special-members: __call__, __init__
35+
:special-members: __call__

docs/source/main-algorithms/low-index/classes/simsrefinerideals.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,14 @@ Contents
2222

2323
~SimsRefinerIdeals
2424
SimsRefinerIdeals.__call__
25-
SimsRefinerIdeals.__init__
2625
SimsRefinerIdeals.init
2726
SimsRefinerIdeals.presentation
2827

2928
Full API
3029
--------
3130

3231
.. autoclass:: SimsRefinerIdeals
33-
:no-doc:
34-
:class-doc-from: class
32+
:class-doc-from: init
3533
:members:
3634
:inherited-members:
37-
:special-members: __call__, __init__
35+
:special-members: __call__

docs/source/main-algorithms/low-index/classes/simsstats.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ Contents
2121
:signatures: short
2222

2323
~SimsStats
24+
SimsStats.copy
25+
SimsStats.count_last
26+
SimsStats.count_now
27+
SimsStats.init
28+
SimsStats.max_pending
29+
SimsStats.stats_check_point
30+
SimsStats.stats_zero
31+
SimsStats.total_pending_last
32+
SimsStats.total_pending_now
2433

2534
Full API
2635
--------

docs/source/main-algorithms/schreier-sims/class.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ Contents
2020
.. autosummary::
2121
:signatures: short
2222

23+
~SchreierSims
2324
SchreierSims.add_base_point
2425
SchreierSims.add_generator
2526
SchreierSims.base
2627
SchreierSims.base_size
2728
SchreierSims.contains
29+
SchreierSims.copy
2830
SchreierSims.current_size
2931
SchreierSims.currently_contains
3032
SchreierSims.empty

docs/source/main-algorithms/schreier-sims/helpers.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,15 @@
55

66
The full license is in the file LICENSE, distributed with this software.
77

8-
Schreier-Sims helper functions
9-
==============================
8+
SchreierSims helpers
9+
====================
1010

1111
This page contains the documentation for various helper functions for
1212
manipulating :any:`SchreierSims` objects.
1313

1414
Contents
1515
--------
1616

17-
In ``libsemigroups_pybind11``:
18-
1917
.. currentmodule:: libsemigroups_pybind11.schreier_sims
2018

2119
.. autosummary::

docs/source/main-algorithms/stephen/class.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ Contents
2222

2323
~Stephen
2424
Stephen.accept_state
25+
Stephen.copy
2526
Stephen.init
27+
Stephen.initial_state
2628
Stephen.is_word_set
2729
Stephen.presentation
2830
Stephen.set_word
2931
Stephen.word
3032
Stephen.word_graph
31-
Stephen.initial_state
3233

3334
Full API
3435
--------

docs/source/main-algorithms/stephen/helpers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
The full license is in the file LICENSE, distributed with this software.
77

8-
Stephen helper functions
9-
========================
8+
Stephen helpers
9+
===============
1010

1111
This page contains the documentation for various helper functions for
1212
manipulating :any:`Stephen` objects.

docs/source/main-algorithms/todd-coxeter/helpers.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
The full license is in the file LICENSE, distributed with this software.
77

8-
Todd-Coxeter helper functions
9-
=============================
8+
ToddCoxeter helpers
9+
===================
1010

1111
This page contains the documentation for various helper functions for
1212
manipulating :any:`ToddCoxeter` objects.
@@ -21,9 +21,9 @@ Contents
2121

2222
class_by_index
2323
class_of
24-
normal_forms
2524
is_non_trivial
2625
non_trivial_classes
26+
normal_forms
2727
partition
2828
redundant_rule
2929

src/libsemigroups_pybind11/congruence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
the submodule ``congruence``.
1313
"""
1414

15-
from typing import Union
15+
from typing import Union as _Union
1616
from typing_extensions import Self as _Self
1717

1818
from _libsemigroups_pybind11 import ( # pylint: disable=no-name-in-module
@@ -73,7 +73,7 @@ def __init__(self: _Self, *args, **kwargs) -> None:
7373

7474
def get(
7575
self: _Self, t: type
76-
) -> Union[_Kambites, _KnuthBendix, _ToddCoxeter]:
76+
) -> _Union[_Kambites, _KnuthBendix, _ToddCoxeter]:
7777
"""
7878
:sig=(self: Congruence, t: type) -> Kambites | KnuthBendix | ToddCoxeter:
7979
Returns the *t* instance used to compute the congruence (if any).

0 commit comments

Comments
 (0)