6 #include "simpactpopulation.h"
9 #include "configwriter.h"
10 #include "logsystem.h"
18 SimpactEvent(Person *pPerson1, Person *pPerson2) :
PopulationEvent(pPerson1, pPerson2) { }
24 virtual void writeLogs(
double fireTime)
const = 0;
26 static void writeEventLogStart(
bool noExtraInfo,
const std::string &eventName,
double t,
27 const Person *pPerson1,
const Person *pPerson2);
30 #endif // SIMPACTEVENT_H
PersonBase * getPerson(int idx) const
Returns a person that was specified when the event was constructed, where idx can range from 0 to Pop...
Definition: populationevent.cpp:83
This is the base class for events in population-based simulations which use the Population class...
Definition: populationevent.h:61