ogs.dsl.types¶
Bases: Interface
The (X, Y, R, S) 4-tuple boundary of an open game.
Backwards-compatible constructor that maps game theory conventions to GDS directional pairs:
- x → forward_in (observation inputs, covariant)
- y → forward_out (decision outputs, covariant)
- r → backward_in (utility inputs, contravariant)
- s → backward_out (coutility outputs, contravariant)
Source code in packages/gds-games/ogs/dsl/types.py
Bases: str, Enum
Classification of an open game component by its port structure.
Source code in packages/gds-games/ogs/dsl/types.py
Bases: str, Enum
Semantic classification of an information flow between components.
Source code in packages/gds-games/ogs/dsl/types.py
Bases: str, Enum
How games are composed within a pattern.
Extends GDS composition types with game-theory naming.