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
Action
from generators and seeds,ImageRightAction
andside.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
RightAction
has all the methods of theRunner
class but, for boring technical reasons, is not a subclass ofRunner
. Ifthing
is an instance ofRightAction
, then you can usething
as if it were an instance ofRunner
butisinstance(thing, Runner)
will returnFalse
.