egttools.games¶
API reference documentation for the games submodule.
Classes
Base class for all game-theoretic models in EGTtools. |
|
Abstract N-player game. |
|
Abstract base class for N-player games with state-dependent payoffs. |
|
Base class for games that define fitness in the infinite-population limit. |
|
Abstract base class for spatially structured games. |
|
This abstract Game class can be used in most scenarios where the fitness of a strategy is calculated as its expected payoff given the population state. |
|
Collective risk dilemma game. |
|
Collective risk dilemma with timing uncertainty. |
|
Abstract N-player game. |
|
Common Pool resource game with commitment, but the threshold is set as another strategy :type group_size: |
|
Game of informal risk sharing. |
|
Matrix-based 2-player game holder. |
|
Matrix-based N-player game holder. |
|
This game is based on the article Pacheco et al., ‘Evolutionary Dynamics of Collective Action in N -Person Stag Hunt Dilemmas’. |
|
Overloaded function. |
|
Overloaded function. |
|
One-shot collective risk dilemma. |
|
One-shot collective risk dilemma in networks. |
|
Classical Public Goods game with only 2 possible contributions (o or cost). |