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

Parameters of the ContDisease. More...

#include <params.hh>

Collaboration diagram for Utopia::Models::ContDisease::Params:
Collaboration graph
[legend]

Public Member Functions

 Params (const DataIO::Config &cfg)
 Construct the parameters from the given configuration node.
 

Public Attributes

const double p_growth
 Probability per site and time step to go from state empty to tree.
 
const double p_immunity
 
double p_infect
 
const InfectionContParams infection_control
 Infection control parameters.
 

Detailed Description

Parameters of the ContDisease.

Constructor & Destructor Documentation

◆ Params()

Utopia::Models::ContDisease::Params::Params ( const DataIO::Config cfg)
inline

Construct the parameters from the given configuration node.

150 :
151 p_growth(get_as<double>("p_growth", cfg)),
152 p_immunity(get_as<double>("p_immunity", cfg)),
153 p_infect(get_as<double>("p_infect", cfg)),
154 infection_control(get_as<DataIO::Config>("infection_control", cfg))
155 {}
Container select_entities(const Manager &mngr, const DataIO::Config &sel_cfg)
Select entities according to parameters specified in a configuration.
Definition select.hh:213
const double p_growth
Probability per site and time step to go from state empty to tree.
Definition params.hh:135
const double p_immunity
Definition params.hh:139
double p_infect
Definition params.hh:143
const InfectionContParams infection_control
Infection control parameters.
Definition params.hh:146

Member Data Documentation

◆ infection_control

const InfectionContParams Utopia::Models::ContDisease::Params::infection_control

Infection control parameters.

◆ p_growth

const double Utopia::Models::ContDisease::Params::p_growth

Probability per site and time step to go from state empty to tree.

◆ p_immunity

const double Utopia::Models::ContDisease::Params::p_immunity

Probability per site and time step for a tree cell to not become infected if an infected cell is in the neighborhood.

◆ p_infect

double Utopia::Models::ContDisease::Params::p_infect
mutable

Probability per site and time step for a random point infection of a tree cell


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