FRED
Epidemic Class Reference

List of all members.

Classes

struct  person_pair_comparator

Public Member Functions

 Epidemic (Disease *str, Timestep_Map *)
void print_stats (int day)
void add_infectious_place (Place *p, char type)
void get_infectious_places (int day)
double get_attack_rate ()
void get_primary_infections (int day)
void transmit (int day)
int get_clinical_incidents ()
int get_total_clinical_incidents ()
double get_clinical_attack_rate ()
int get_incident_infections ()
int get_total_incidents ()
void become_susceptible (Person *person)
void become_unsusceptible (Person *person)
void become_exposed (Person *person)
void become_infectious (Person *person)
void become_uninfectious (Person *person)
void become_symptomatic (Person *person)
void become_removed (Person *person, bool susceptible, bool infectious, bool symptomatic)
void become_immune (Person *person, bool susceptible, bool infectious, bool symptomatic)
void find_infectious_places (int day, int dis)
void add_susceptibles_to_infectious_places (int day, int dis)
void increment_infectee_count (int day)

Static Public Member Functions

static void update (int day)
static void transmit_infection (int day)
static void get_visitors_to_infectious_places (int day)

Member Function Documentation

void Epidemic::add_infectious_place ( Place p,
char  type 
)

Add an infectious place of a given type to this Epidemic's list

Parameters:
pthe Place to be added
typewhat type of place (H)ousehold, (O)ffice, etc
double Epidemic::get_attack_rate ( ) [inline]
Returns:
the attack rate
double Epidemic::get_clinical_attack_rate ( ) [inline]
Returns:
the clinical_attack_rate
int Epidemic::get_clinical_incidents ( ) [inline]
Returns:
the clinical_incidents
int Epidemic::get_incident_infections ( ) [inline]
Returns:
the incident_infections
int Epidemic::get_total_clinical_incidents ( ) [inline]
Returns:
the clinical_incidents
int Epidemic::get_total_incidents ( ) [inline]
Returns:
the total_incidents
void Epidemic::print_stats ( int  day)

Output daily Epidemic statistics to the files

Parameters:
daythe simulation day

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