1 #ifndef EVENTTREATMENT_H
3 #define EVENTTREATMENT_H
5 #include "simpactevent.h"
9 class EventTreatment :
public SimpactEvent
12 EventTreatment(Person *pPerson);
15 std::string getDescription(
double tNow)
const;
16 void writeLogs(
double tNow)
const;
18 void fire(
State *pState,
double t);
21 static void obtainConfig(ConfigWriter &config);
23 static bool isTreatmentEnabled() {
return treatmentEnabled; }
27 static double treatmentTimeFrac;
28 static double treatmentVLLogFrac;
29 static bool treatmentEnabled;
32 #endif // EVENTTREATMENT_H
This class both describes the simulation state and contains the core algorithm (as shown on the main ...
Definition: state.h:40
Helper class to read configuration settings, more advanced than ConfigReader.
Definition: configsettings.h:20
This class allows you to generate random numbers, and uses the GNU Scientific Library for this...
Definition: gslrandomnumbergenerator.h:16