Utopia 2
Framework for studying models of complex & adaptive systems.
|
Classes | |
class | ContDisease |
Contagious disease model on a grid. More... | |
struct | InfectionContParams |
Parameters specifying the infection control. More... | |
struct | Params |
Parameters of the ContDisease. More... | |
struct | State |
The full cell struct for the ContDisease model. More... | |
Typedefs | |
using | CDCellTraits = Utopia::CellTraits< State, Update::manual > |
using | CDTypes = ModelTypes<> |
Typehelper to define data types of ContDisease model. | |
Enumerations | |
enum class | Kind : char { empty = 0 , tree = 1 , infected = 2 , source = 3 , stone = 4 } |
The kind of the cell: empty, tree, infected, source, stone. More... | |
Specifies the type of each cells' state as first template argument and the update mode as second.
See Utopia::CellTraits for more information.
Typehelper to define data types of ContDisease model.
|
strong |
The kind of the cell: empty, tree, infected, source, stone.
Enumerator | |
---|---|
empty | Unoccupied. |
tree | Cell represents a tree. |
infected | Cell is infected. |
source | Cell is an infection source: constantly infected, spreading infection. |
stone | Cell cannot be infected. |