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 and side.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 the Runner class but, for boring technical reasons, is not a subclass of Runner. If thing is an instance of RightAction, then you can use thing as if it were an instance of Runner but isinstance(thing, Runner) will return False.