Utopia
2
Framework for studying models of complex & adaptive systems.
|
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... | |
using Utopia::Models::SimpleEG::CellTraits = typedef Utopia::CellTraits<CellState, Update::sync, true> |
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.
using Utopia::Models::SimpleEG::ModelTypes = typedef Utopia::ModelTypes<> |
Typehelper to define data types of SimpleEG model.
enum Utopia::Models::SimpleEG::Strategy : unsigned short int |