1 #ifndef EVENTFORMATION_H
3 #define EVENTFORMATION_H
5 #include "simpactevent.h"
10 class EventFormation :
public SimpactEvent
14 EventFormation(Person *pPerson1, Person *pPerson2,
double lastDissTime);
17 std::string getDescription(
double tNow)
const;
18 void writeLogs(
double tNow)
const;
19 void fire(
State *pState,
double t);
21 double getLastDissolutionTime()
const {
return m_lastDissolutionTime; }
24 static void obtainConfig(ConfigWriter &config);
26 double calculateInternalTimeInterval(
const State *pState,
double t0,
double dt);
27 double solveForRealTimeInterval(
const State *pState,
double Tdiff,
double t0);
30 double m_lastDissolutionTime;
32 static EvtHazard *m_pHazard;
35 #endif // EVENTFORMATION_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