FRED
Hospital.h
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: Hospital.h
00010 //
00011 
00012 #ifndef _FRED_HOSPITAL_H
00013 #define _FRED_HOSPITAL_H
00014 
00015 #include "Place.h"
00016 
00023 class Hospital : public Place {
00024 public: 
00028   Hospital() {}
00029   ~Hospital() {}
00030 
00036   Hospital(int,const char*,double,double,Place *, Population *);
00037 
00044   void get_parameters(int diseases);
00045 
00049   int get_group(int disease, Person * per);
00050 
00059   double get_transmission_prob(int disease, Person * i, Person * s);
00060 
00069   double get_contacts_per_day(int disease);
00070 
00078   bool should_be_open(int day, int disease) { return true; }
00079 
00080 private:
00081   static double * Hospital_contacts_per_day;
00082   static double *** Hospital_contact_prob;
00083   static bool Hospital_parameters_set;
00084 };
00085 
00086 #endif // _FRED_HOSPITAL_H
00087 
 All Classes Functions