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

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

Detailed Description

Parameters specifying the transmit control.

Member Typedef Documentation

◆ TimesQueue

Type of the times queue.

◆ TimesValuesQueue

using Utopia::Models::SEIRD::TransmitContParams::TimesValuesQueue = std::queue<std::tuple<std::size_t, unsigned, Kind, double> >

The type of the change p_transmit tuples.

Constructor & Destructor Documentation

◆ TransmitContParams()

Utopia::Models::SEIRD::TransmitContParams::TransmitContParams ( const DataIO::Config cfg)
inline

Configuration constructor.

Construct an TransmitContParams object with required parameters being extracted from a configuration node with the same parameter names.

Member Data Documentation

◆ change_p_transmit

TimesValuesQueue Utopia::Models::SEIRD::TransmitContParams::change_p_transmit
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.

◆ enabled

const bool Utopia::Models::SEIRD::TransmitContParams::enabled

Whether immunity control is enabled.


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