1 #ifndef EVENTDISSOLUTION_H
3 #define EVENTDISSOLUTION_H
5 #include "simpactevent.h"
9 class EventDissolution :
public SimpactEvent
12 EventDissolution(Person *pPerson1, Person *pPerson2,
double formationTime);
15 std::string getDescription(
double tNow)
const;
16 void writeLogs(
double tNow)
const;
17 void fire(
State *pState,
double t);
20 static void obtainConfig(ConfigWriter &config);
22 double calculateInternalTimeInterval(
const State *pState,
double t0,
double dt);
23 double solveForRealTimeInterval(
const State *pState,
double Tdiff,
double t0);
25 double m_formationTime;
27 static double getTMax(Person *pPerson1, Person *pPerson2);
37 static double tMaxDiff;
40 #endif // EVENTDISSOLUTION_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