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

Parameters specifying the exposure 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::pair< std::size_t, double > >
 The type of the change p_exposed pairs. More...
 

Public Member Functions

 ExposureContParams (const DataIO::Config &cfg)
 Configuration constructor. More...
 

Public Attributes

const bool enabled
 Whether exposure control is enabled. More...
 
const std::size_t num_additional_exposures
 The number of exposures added to the default p_expose. More...
 
TimesQueue at_times
 Add additional exposures at these time steps. More...
 
TimesValuesQueue change_p_exposed
 Change p_expose to new value at given times. More...
 

Detailed Description

Parameters specifying the exposure control.

Member Typedef Documentation

◆ TimesQueue

Type of the times queue.

◆ TimesValuesQueue

using Utopia::Models::SEIRD::ExposureContParams::TimesValuesQueue = std::queue<std::pair<std::size_t, double> >

The type of the change p_exposed pairs.

Constructor & Destructor Documentation

◆ ExposureContParams()

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

Configuration constructor.

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

Member Data Documentation

◆ at_times

TimesQueue Utopia::Models::SEIRD::ExposureContParams::at_times
mutable

Add additional exposures at these time steps.

◆ change_p_exposed

TimesValuesQueue Utopia::Models::SEIRD::ExposureContParams::change_p_exposed
mutable

Change p_expose to new value at given times.

Each element of this container provides a pair of [time, new_value]. If the iteration step (time) of the simulation is reached p_expose is set to new_value

◆ enabled

const bool Utopia::Models::SEIRD::ExposureContParams::enabled

Whether exposure control is enabled.

◆ num_additional_exposures

const std::size_t Utopia::Models::SEIRD::ExposureContParams::num_additional_exposures

The number of exposures added to the default p_expose.


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