FRED
|
00001 /* 00002 Copyright 2009 by the University of Pittsburgh 00003 Licensed under the Academic Free License version 3.0 00004 See the file "LICENSE" for more information 00005 */ 00006 00007 // 00008 // 00009 // File: Office.h 00010 // 00011 00012 #ifndef _FRED_OFFICE_H 00013 #define _FRED_OFFICE_H 00014 00015 #include "Place.h" 00016 00023 class Office: public Place { 00024 public: 00025 00029 Office() {} 00030 ~Office() {} 00031 00037 Office(int loc, const char *lab, double lon, double lat, Place *container, Population* pop); 00038 00045 void get_parameters(int diseases); 00046 00050 int get_group(int disease, Person * per); 00051 00060 double get_transmission_prob(int disease, Person * i, Person * s); 00061 00070 double get_contacts_per_day(int disease); 00071 00079 bool should_be_open(int day, int disease) { return true; } 00080 00081 private: 00082 static double * Office_contacts_per_day; 00083 static double *** Office_contact_prob; 00084 static bool Office_parameters_set; 00085 }; 00086 00087 #endif // _FRED_OFFICE_H 00088