ogs.dsl.base¶
Bases: Block
Abstract base for all open games — both atomic components and composites.
Every open game has a name and a signature describing its boundary
ports using the (X, Y, R, S) convention. The signature keyword is
accepted at construction and stored in the GDS interface field.
Source code in packages/gds-games/ogs/dsl/base.py
signature
property
¶
Game-theory alias for self.interface with x/y/r/s accessors.
flatten()
abstractmethod
¶
__rshift__(other)
¶
g1 >> g2 — sequential composition.
Source code in packages/gds-games/ogs/dsl/base.py
__or__(other)
¶
g1 | g2 — parallel composition.
Source code in packages/gds-games/ogs/dsl/base.py
feedback(wiring)
¶
Wrap with contravariant S→R feedback within a single timestep.
Source code in packages/gds-games/ogs/dsl/base.py
corecursive(wiring, exit_condition='')
¶
Wrap with covariant Y→X temporal iteration across timesteps.