Simpact Cyan
Population based event driven simulation using mNRM
eventmortalitybase.h
1 #ifndef EVENTMORTALITYBASE_H
2 
3 #define EVENTMORTALITYBASE_H
4 
5 #include "simpactevent.h"
6 
7 class ConfigSettings;
8 
9 // Base class for AIDS and normal mortality events
10 class EventMortalityBase : public SimpactEvent
11 {
12 public:
13  EventMortalityBase(Person *pPerson);
14  ~EventMortalityBase();
15 
16  // bool isEveryoneAffected() const { return true; }
17  void markOtherAffectedPeople(const Population &population);
18 
19  void fire(State *pState, double t);
20 };
21 
22 #endif // EVENTMORTALITYBASE_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 provides functions for a population-based simulation using the modified Next Reaction Meth...
Definition: population.h:83