Stride Reference Manual  1.0
stride::Threshold< threshold_infected, threshold_adopted > Class Template Reference

#include <ThresholdData.h>

Collaboration diagram for stride::Threshold< threshold_infected, threshold_adopted >:
Collaboration graph

Public Types

using Data = ThresholdData
 

Static Public Member Functions

static void initialize (Data &belief_data, double risk_averseness)
 
static void update (Data &belief_data, Health &health_data)
 
template<typename BehaviourPolicy >
static void update (Data &belief_data, const Person< BehaviourPolicy, Threshold< threshold_infected, threshold_adopted >> *p)
 
static bool hasAdopted (const Data &belief_data)
 

Detailed Description

template<bool threshold_infected, bool threshold_adopted>
class stride::Threshold< threshold_infected, threshold_adopted >

Definition at line 18 of file ThresholdData.h.

Member Typedef Documentation

template<bool threshold_infected, bool threshold_adopted>
using stride::Threshold< threshold_infected, threshold_adopted >::Data = ThresholdData

Definition at line 15 of file Threshold.h.

Member Function Documentation

template<bool threshold_infected, bool threshold_adopted>
static void stride::Threshold< threshold_infected, threshold_adopted >::initialize ( Data belief_data,
double  risk_averseness 
)
inlinestatic
template<bool threshold_infected, bool threshold_adopted>
static void stride::Threshold< threshold_infected, threshold_adopted >::update ( Data belief_data,
Health health_data 
)
inlinestatic

Definition at line 26 of file Threshold.h.

template<bool threshold_infected, bool threshold_adopted>
template<typename BehaviourPolicy >
static void stride::Threshold< threshold_infected, threshold_adopted >::update ( Data belief_data,
const Person< BehaviourPolicy, Threshold< threshold_infected, threshold_adopted >> *  p 
)
inlinestatic

Definition at line 30 of file Threshold.h.

References stride::ThresholdData::contact().

template<bool threshold_infected, bool threshold_adopted>
static bool stride::Threshold< threshold_infected, threshold_adopted >::hasAdopted ( const Data belief_data)
inlinestatic

The documentation for this class was generated from the following files: