Utopia  2
Framework for studying models of complex & adaptive systems.
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. More...
 
using ModelTypes = Utopia::ModelTypes<>
 Typehelper to define data types of SimpleEG model. More...
 

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

enum Utopia::Models::SimpleEG::Strategy : unsigned short int

Strategy enum.

Enumerator
S0 
S1