List of all members.
Public Member Functions |
| Behavior (Person *p) |
void | initialize_adult_behavior (Person *person) |
void | update (int day) |
bool | adult_is_staying_home (int day) |
bool | adult_is_taking_sick_leave (int day) |
bool | child_is_staying_home (int day) |
bool | acceptance_of_vaccine () |
bool | acceptance_of_another_vaccine_dose () |
bool | child_acceptance_of_vaccine () |
bool | child_acceptance_of_another_vaccine_dose () |
void | set_adult_decision_maker (Person *person) |
Person * | get_adult_decision_maker () |
void | select_adult_decision_maker (Person *unavailable_person) |
void | terminate () |
Constructor & Destructor Documentation
Behavior::Behavior |
( |
Person * |
p | ) |
|
Constructor
- Parameters:
-
p | a pointer to the agent who will exhibit this behavior |
Member Function Documentation
void Behavior::update |
( |
int |
day | ) |
|
Perform the daily update for this object
- Parameters:
-
The documentation for this class was generated from the following files: