Utopia
2
Framework for studying models of complex & adaptive systems.
|
Parameters specifying the transmit control. More...
#include <params.hh>
Public Types | |
using | TimesQueue = std::queue< std::size_t > |
Type of the times queue. More... | |
using | TimesValuesQueue = std::queue< std::tuple< std::size_t, unsigned, Kind, double > > |
The type of the change p_transmit tuples. More... | |
Public Member Functions | |
TransmitContParams (const DataIO::Config &cfg) | |
Configuration constructor. More... | |
Public Attributes | |
const bool | enabled |
Whether immunity control is enabled. More... | |
TimesValuesQueue | change_p_transmit |
Change p_transmit to new value at given times. More... | |
Parameters specifying the transmit control.
using Utopia::Models::SEIRD::TransmitContParams::TimesQueue = std::queue<std::size_t> |
Type of the times queue.
using Utopia::Models::SEIRD::TransmitContParams::TimesValuesQueue = std::queue<std::tuple<std::size_t, unsigned, Kind, double> > |
The type of the change p_transmit tuples.
|
inline |
Configuration constructor.
Construct an TransmitContParams object with required parameters being extracted from a configuration node with the same parameter names.
|
mutable |
Change p_transmit to new value at given times.
Each element of this container provides a tuple of [time, num_cells, cell_kind, p_transmit]. If the iteration step (time) of the simulation is reached p_transmit is set to p_transmit for a subset of num_cells randomly drawn cells of kind cell_kind.
const bool Utopia::Models::SEIRD::TransmitContParams::enabled |
Whether immunity control is enabled.