Simpact Cyan
Population based event driven simulation using mNRM
eventhivtest.h
1 #ifndef EVENTHIVTEST_H
2 
3 #define EVENTHIVTEST_H
4 
5 #include "simpactevent.h"
6 
7 class EventHIVTest : public SimpactEvent
8 {
9 public:
10  EventHIVTest(Person *pPerson);
11  ~EventHIVTest();
12 
13  std::string getDescription(double tNow) const;
14  void fire(State *pState, double t);
15 private:
16  double getNewInternalTimeDifference(GslRandomNumberGenerator *pRndGen, const State *pState);
17  bool isUseless();
18 };
19 
20 
21 #endif // EVENTHIVTEST_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