9 template<
typename BehaviourPolicy,
typename BeliefPolicy>
12 template<
bool threshold_infected,
bool threshold_adopted>
18 if (threshold_infected) {
21 if (threshold_adopted) {
28 template<
typename BehaviourPolicy>
35 if (threshold_infected) {
40 if (threshold_adopted) {
void setThresholdAdopted(double threshold)
Time Dependent Person DataType.
static void update(Data &belief_data, Health &health_data)
Forward declaration of class Person.
double getThresholdInfected() const
void setThresholdInfected(double threshold)
static void update(Data &belief_data, const Person< BehaviourPolicy, Threshold< threshold_infected, threshold_adopted >> *p)
void contact(const Person< BehaviourPolicy, BeliefPolicy > *p)
static bool hasAdopted(const Data &belief_data)
double getFractionInfected() const
double getThresholdAdopted() const
double getFractionAdopted() const
static void initialize(Data &belief_data, double risk_averseness)