1 #ifndef EVENTMORTALITY_H
3 #define EVENTMORTALITY_H
5 #include "simpactevent.h"
8 class EventMortality :
public SimpactEvent
11 EventMortality(Person *pPerson);
14 bool isAidsMortality()
const {
return m_isAidsMortality; }
16 std::string getDescription(
double tNow)
const;
18 int getNumberOfOtherAffectedPersons()
const;
19 void startOtherAffectedPersonIteration();
22 void fire(
State *pState,
double t);
24 double calculateInternalTimeInterval(
const State *pState,
double t0,
double dt);
25 double solveForRealTimeInterval(
const State *pState,
double Tdiff,
double t0);
29 bool m_isAidsMortality;
32 #endif // EVENTMORTALITY_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
This is the base class for a person in a population-based simulation that used the Population class...
Definition: personbase.h:23