Utopia 2
Framework for studying models of complex & adaptive systems.
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations
Utopia::Models::SimpleEG Namespace Reference

Classes

struct  CellState
 The type of the cell state for the SimpleEG model. More...
 
class  SimpleEG
 Simple model of evolutionary games on grids. More...
 

Typedefs

using CellTraits = Utopia::CellTraits< CellState, Update::sync, true >
 Specialize the CellTraits type helper for the SimpleEG model.
 
using ModelTypes = Utopia::ModelTypes<>
 Typehelper to define data types of SimpleEG model.
 

Enumerations

enum  Strategy : unsigned short int { S0 =0 , S1 =1 }
 Strategy enum. More...
 

Typedef Documentation

◆ CellTraits

Specialize the CellTraits type helper for the SimpleEG model.

Specifies the type of each cells' state as first template argument and the update mode as second. The SimpleEG model relies on sync update for all its cells. The third template parameter here specifies that the default constructor is to be used for constructing the CellState.

See Utopia::CellTraits for more information.

◆ ModelTypes

Typehelper to define data types of SimpleEG model.

Enumeration Type Documentation

◆ Strategy

Strategy enum.

Enumerator
S0 
S1 
19: unsigned short int { S0=0, S1=1 };
@ S1
Definition SimpleEG.hh:19
@ S0
Definition SimpleEG.hh:19