42 explicit Health(
unsigned short int start_infectiousness = 0U,
unsigned int short start_symptomatic = 0U,
43 unsigned short int time_infectious = 0U,
unsigned short int time_symptomatic = 0U);
95 void StartInfection();
unsigned short int m_end_infectiousness
Days after infection to end infectious state.
bool IsSymptomatic() const
Is this person symptomatic?
bool IsImmune() const
Is this person immune?
unsigned short int GetEndSymptomatic() const
unsigned short int m_end_symptomatic
Days after infection to end symptomatic state.
Holds a person's health data.
unsigned short int GetDiseaseCounter() const
Get the disease counter.
void SetImmune()
Set health state to immune.
HealthStatus m_status
The current status of the person w.r.t. the disease.
void SetSusceptible()
Set health state to susceptible.
bool IsRecovered() const
Is this person recovered?
HealthStatus
Enumerate the various health states with respect to the infection.
unsigned short int m_disease_counter
The disease counter.
unsigned short int GetStartInfectiousness() const
bool IsInfected() const
Is this person infected?
bool IsInfectious() const
Is this person infectious.
unsigned short int GetStartSymptomatic() const
unsigned short int m_start_symptomatic
Days after infection to become symptomatic.
bool SymptomsStartedToday() const
Have the symptoms started today?
unsigned short int GetEndInfectiousness() const
unsigned short int m_start_infectiousness
Days after infection to become infectious.
Namespace for the simulator and related classes.
bool IsSusceptible() const
Is this person susceptible?
void ResetDiseaseCounter()
Reset the disease counter.
void IncrementDiseaseCounter()
Increment disease counter.