The full cell struct for the SEIRD model.
More...
#include <state.hh>
|
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...
|
|
The full cell struct for the SEIRD model.
◆ State()
template<class RNG >
Utopia::Models::SEIRD::State::State |
( |
const DataIO::Config & |
cfg, |
|
|
const std::shared_ptr< RNG > & |
rng |
|
) |
| |
|
inline |
Construct the cell state from a configuration and an RNG.
◆ initialize_p_transmit()
template<typename RNG >
static double Utopia::Models::SEIRD::State::initialize_p_transmit |
( |
const DataIO::Config & |
cfg, |
|
|
const std::shared_ptr< RNG > & |
rng |
|
) |
| |
|
inlinestatic |
Initialize p_transmit from a configuration node.
◆ age
unsigned Utopia::Models::SEIRD::State::age |
◆ cluster_id
unsigned int Utopia::Models::SEIRD::State::cluster_id |
An ID denoting to which cluster this cell belongs.
◆ exposed_time
unsigned Utopia::Models::SEIRD::State::exposed_time |
The time passed since first being exposed.
◆ immune
bool Utopia::Models::SEIRD::State::immune |
Whether the agent is immune.
◆ kind
Kind Utopia::Models::SEIRD::State::kind |
◆ num_recoveries
unsigned Utopia::Models::SEIRD::State::num_recoveries |
The number of recoveries.
◆ p_transmit
double Utopia::Models::SEIRD::State::p_transmit |
The probability to transmit the infection to others if exposed or infected
The documentation for this struct was generated from the following file: