Utopia  2
Framework for studying models of complex & adaptive systems.
Public Member Functions | Public Attributes | List of all members
Utopia::Models::ContDisease::State Struct Reference

The full cell struct for the ContDisease model. More...

#include <state.hh>

Public Member Functions

template<class RNG >
 State (const DataIO::Config &cfg, const std::shared_ptr< RNG > &rng)
 Construct the cell state from a configuration and an RNG. More...
 

Public Attributes

Kind kind
 The cell state. More...
 
unsigned age
 The age of the cell. More...
 
unsigned int cluster_id
 An ID denoting to which cluster this cell belongs. More...
 

Detailed Description

The full cell struct for the ContDisease model.

Constructor & Destructor Documentation

◆ State()

template<class RNG >
Utopia::Models::ContDisease::State::State ( const DataIO::Config cfg,
const std::shared_ptr< RNG > &  rng 
)
inline

Construct the cell state from a configuration and an RNG.

Member Data Documentation

◆ age

unsigned Utopia::Models::ContDisease::State::age

The age of the cell.

◆ cluster_id

unsigned int Utopia::Models::ContDisease::State::cluster_id

An ID denoting to which cluster this cell belongs.

◆ kind

Kind Utopia::Models::ContDisease::State::kind

The cell state.


The documentation for this struct was generated from the following file: