1 #ifndef EVENTTRANSMISSION_H
3 #define EVENTTRANSMISSION_H
5 #include "simpactevent.h"
9 class EventTransmission :
public SimpactEvent
13 EventTransmission(Person *pPerson1, Person *pPerson2);
16 std::string getDescription(
double tNow)
const;
17 void writeLogs(
double tNow)
const;
19 void fire(
State *pState,
double t);
22 static void obtainConfig(ConfigWriter &config);
31 double calculateInternalTimeInterval(
const State *pState,
double t0,
double dt);
32 double solveForRealTimeInterval(
const State *pState,
double Tdiff,
double t0);
34 double calculateHazardFactor();
37 #endif // EVENTTRANSMISSION_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