FRED
Strain.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: Strain.h
00010 //
00011 
00012 #ifndef _FRED_STRAIN_H
00013 #define _FRED_STRAIN_H
00014 
00015 #include "Global.h"
00016 #include "Epidemic.h"
00017 #include <map>
00018 #include <string>
00019 
00020 using namespace std;
00021 
00022 class Person;
00023 class Disease;
00024 class Age_Map;
00025 
00026 class Strain {
00027   public:
00028     Strain();
00029     ~Strain();
00030 
00031     void reset();
00032     void setup(int s, Disease *d);
00033     void setup(int strain, Disease *disease, map<string, double> *data, double trans);
00034     void print();
00035 
00036     int get_id() {
00037       return id;
00038       }
00039     double getTransmissibility() {
00040       return transmissibility;
00041       }
00042   private:
00043     int id;
00044     double transmissibility;
00045 
00046     Disease *disease;
00047     map<string, double> *strainData;
00048   };
00049 
00050 #endif // _FRED_STRAIN_H
 All Classes Functions