14 template<
typename BehaviourPolicy,
typename BeliefPolicy>
17 template<
bool threshold_infected,
bool threshold_adopted>
57 template<
typename BehaviourPolicy,
typename BeliefPolicy>
76 extern template void ThresholdData::contact<Vaccination<Threshold<true, false>>,
Threshold<true, true>>(
void setThresholdAdopted(double threshold)
unsigned int m_num_contacts
unsigned int m_num_contacts_adopted
Time Dependent Person DataType.
double m_threshold_adopted
Fraction of contacts that needs to have adopted the belief for person to also adopt.
ThresholdData()
Default constructor.
Forward declaration of class Person.
double getThresholdInfected() const
void setThresholdInfected(double threshold)
unsigned int m_num_contacts_infected
void contact(const Person< BehaviourPolicy, BeliefPolicy > *p)
double m_threshold_infected
Fraction of contacts that needs to be infected before person adopts belief.
double getFractionInfected() const
double getThresholdAdopted() const
double getFractionAdopted() const