Simpact Cyan
Population based event driven simulation using mNRM
eventdebut.h
1 #ifndef EVENTDEBUT_H
2 
3 #define EVENTDEBUT_H
4 
5 #include "simpactevent.h"
6 
7 class ConfigSettings;
8 
9 class EventDebut : public SimpactEvent
10 {
11 public:
12  EventDebut(Person *pPerson);
13  ~EventDebut();
14 
15  std::string getDescription(double tNow) const;
16  void writeLogs(double tNow) const;
17 
18  void fire(State *pState, double t);
19 
20  static double getDebutAge() { return m_debutAge; }
21  static void processConfig(ConfigSettings &config);
22  static void obtainConfig(ConfigWriter &config);
23 private:
24  double getNewInternalTimeDifference(GslRandomNumberGenerator *pRndGen, const State *pState);
25 
26  static double m_debutAge;
27 };
28 
29 #endif // EVENTDEBUT_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