The SimsRefinerIdeals class
For pruning the search tree when looking for congruences arising from right or two-sided ideals.
This class provides a pruner for pruning the search tree when looking for right or two-sided congruences arising from ideals (Rees congruences).
See also
Contents
For pruning the search tree when looking for congruences arising from right or two-sided ideals. |
|
Check if a word graph can be extended to one defining a Rees congruence. |
|
Overloaded function. |
|
Get the presentation over which the refiner is defined. |
Full API
- class SimsRefinerIdeals
- __init__(*args, **kwargs)
Overloaded function.
- __init__(self: SimsRefinerIdeals, word: type) None
This function returns an uninitialized
SimsRefinerIdeals
object that uses words of type specified by word.- Keyword Arguments:
word (type) – the type of words to use, must be
list[int]
.
- __init__(self: SimsRefinerIdeals, p: Presentation) None
Construct from presentation.
This function constructs a
SimsRefinerIdeals
pruner for the semigroup or monoid defined by p.- Parameters:
p (Presentation) – A presentation.
- __call__(self: SimsRefinerIdeals, wg: WordGraph) bool
Check if a word graph can be extended to one defining a Rees congruence.
Returns
False
if there is no way of adding edges and nodes to wg which will result in a word graph defining a Rees congruence. Otherwise returnsTrue
.
- init(self: SimsRefinerIdeals, p: Presentation) SimsRefinerIdeals
Overloaded function.
- init(self: SimsRefinerIdeals) SimsRefinerIdeals
Reinitialize an existing
SimsRefinerIdeals
object.This function puts an object back into the same state as if it had been newly default constructed.
- Returns:
The first argument self.
- Return type:
- init(self: SimsRefinerIdeals, p: Presentation) SimsRefinerIdeals
Reinitialize an existing
SimsRefinerIdeals
object from a presentation.This function puts an object back into the same state as if it had been newly constructed from the presentation p.
- Parameters:
p (Presentation) – A presentation.
- Returns:
The first argument self.
- Return type:
- Raises:
LibsemigroupsError – if p is not valid
LibsemigroupsError – if p has 0-generators and 0-relations.
See also
- presentation(self: SimsRefinerIdeals) Presentation
Get the presentation over which the refiner is defined.
This function returns the defining presentation of a
SimsRefinerIdeals
instance.- Returns:
The presentation.
- Return type: