Simpact Cyan
Population based event driven simulation using mNRM
eventchronicstage.h
1 #ifndef EVENTCHRONICSTAGE_H
2 
3 #define EVENTCHRONICSTAGE_H
4 
5 #include "simpactevent.h"
6 
7 class EventChronicStage : public SimpactEvent
8 {
9 public:
10  EventChronicStage(Person *pPerson);
11  ~EventChronicStage();
12 
13  std::string getDescription(double tNow) const;
14 
15  void fire(State *pState, double t);
16 private:
17  double getNewInternalTimeDifference(GslRandomNumberGenerator *pRndGen, const State *pState);
18 };
19 
20 #endif // EVENTCHRONICSTAGE_H
This class both describes the simulation state and contains the core algorithm (as shown on the main ...
Definition: state.h:40
This class allows you to generate random numbers, and uses the GNU Scientific Library for this...
Definition: gslrandomnumbergenerator.h:15