The RightAction class
Class representing a right action of a semigroup or monoid on a set.
This page contains the documentation for the class RightAction,
which just calls Action with the keyword arguments func given by
ImageRightAction and side given by side.right.
Full API
- class RightAction
Bases:
Action- __init__(self: RightAction, generators: list[Element] = None, seeds: list[Point] = None) None
Construct an
Actionfrom generators and seeds,ImageRightActionandside.right.- Keyword Arguments:
generators (list[Element])– at least one generator for the action.
seeds (list[Point]) – at least one seed point for the action.
- Raises:
TypeError – if generators or seeds is not a list.
ValueError – if generators or seeds has length
0.KeyError – if the action given by the arguments is not yet implemented.
Important
The class
RightActionhas all the methods of theRunnerclass but, for boring technical reasons, is not a subclass ofRunner. Ifthingis an instance ofRightAction, then you can usethingas if it were an instance ofRunnerbutisinstance(thing, Runner)will returnFalse.