energia.dimensions.game

Contents

energia.dimensions.game#

System

Functions

dataclass([cls, init, repr, eq, order, ...])

Add dunder methods based on the fields defined in the class.

Classes

Game(model)

System representation as a Resource Task Network (RTN) All resources and tasks are attached to this object

class Game(model: Model)[source]#

Bases: _Dimension

System representation as a Resource Task Network (RTN) All resources and tasks are attached to this object

Parameters:

model (Model) – Model to which the representation belongs.

Variables:
  • name (str) – Name of the dimension, generated based on the class and model name.

  • players (list[Player]) – List of players. Defaults to [].

  • couples (list[Couple]) – List of couples. Defaults to [].

model: Model#