List of all members.
Constructor & Destructor Documentation
Perceptions::Perceptions |
( |
Person * |
p | ) |
[inline] |
Construct a new Persceptions with a pointer to the Person to which it belongs.
- Parameters:
-
Member Function Documentation
int Perceptions::get_global_cases |
( |
int |
disease | ) |
[inline] |
- Returns:
- the number of cases of a given disease throughout the Population
int Perceptions::get_global_deaths |
( |
int |
disease | ) |
[inline] |
- Returns:
- the number of deaths from a given disease throughout the Population
double Perceptions::get_household_school_incidence |
( |
int |
disease | ) |
|
disease the disease in question
- Returns:
- the incidence rate of the given disease in this person's household and school
int Perceptions::get_local_cases |
( |
int |
disease | ) |
[inline] |
Not currently implemented disease the disease in question
- Returns:
- the count of cases of the given disease locally (0)
int Perceptions::get_local_deaths |
( |
int |
disease | ) |
[inline] |
Not currently implemented disease the disease in question
- Returns:
- the count of deaths from the given disease locally (0)
int Perceptions::get_neighborhood_cases |
( |
int |
disease | ) |
|
disease the disease in question
- Returns:
- the count of cases of the given disease in this person's neighborhood
int Perceptions::get_neighborhood_deaths |
( |
int |
disease | ) |
|
disease the disease in question
- Returns:
- the count of deaths from the given disease in this person's neighborhood
int Perceptions::get_school_cases |
( |
int |
disease | ) |
|
disease the disease in question
- Returns:
- the count of cases of the given disease in this person's school
int Perceptions::get_school_deaths |
( |
int |
disease | ) |
|
disease the disease in question
- Returns:
- the count of deaths from the given disease in this person's school
int Perceptions::get_workplace_cases |
( |
int |
disease | ) |
|
disease the disease in question
- Returns:
- the count of cases of the given disease in this person's workplace
int Perceptions::get_workplace_deaths |
( |
int |
disease | ) |
|
disease the disease in question
- Returns:
- the count of deaths from the given disease in this person's workplace
void Perceptions::update |
( |
int |
day | ) |
[inline] |
Perform the daily update for this object
- Parameters:
-
The documentation for this class was generated from the following files: