Utopia  2
Framework for studying models of complex & adaptive systems.
Classes | Typedefs | Enumerations
Utopia::Models::ContDisease Namespace Reference

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. More...
 

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...
 

Typedef Documentation

◆ CDCellTraits

Specifies the type of each cells' state as first template argument and the update mode as second.

See Utopia::CellTraits for more information.

◆ CDTypes

Typehelper to define data types of ContDisease model.

Enumeration Type Documentation

◆ Kind

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.