Simpact Cyan
Population based event driven simulation using mNRM
eventmtctransmission.h
1 #ifndef EVENTMTCTRANSMISSION_H
2 
3 #define EVENTMTCTRANSMISSION_H
4 
5 #include "simpactevent.h"
6 
7 class EventMTCTransmission : public SimpactEvent
8 {
9 public:
10  EventMTCTransmission(Person *pMother, Person *pChild);
11  ~EventMTCTransmission();
12 
13  std::string getDescription(double tNow) const;
14  void fire(State *pState, double t);
15 protected:
16  double calculateInternalTimeInterval(const State *pState, double t0, double dt);
17  double solveForRealTimeInterval(const State *pState, double Tdiff, double t0);
18  bool isUseless();
19 };
20 
21 #endif // EVENTMTCTRANSMISSION_H
22 
This class both describes the simulation state and contains the core algorithm (as shown on the main ...
Definition: state.h:40