Microsimulation API
|
Public Member Functions | |
SimplePerson (const int i=0) | |
void | init () |
virtual void | handleMessage (const cMessage *msg) |
![]() | |
cProcess (Time startTime=Time(0.0)) | |
virtual void | process_event (const ssim::Event *e) |
action executed in response to an event signaled to this process. More... | |
virtual void | scheduleAt (Time t, cMessage *msg) |
virtual void | scheduleAt (Time t, string s) |
virtual void | scheduleAt (Time t, short k) |
void | initialize () |
action executed when the process is initialized. More... | |
![]() | |
virtual | ~Process () |
virtual void | stop (void) |
executed when the process is explicitly stopped. More... | |
Public Attributes | |
state_t | state |
int | id |
double | z |
![]() | |
Time | startTime |
Time | previousEventTime |
Definition at line 21 of file illness-death.cpp.
|
inline |
Definition at line 27 of file illness-death.cpp.
Handle receiving self-messages
Implements ssim::cProcess.
Definition at line 46 of file illness-death.cpp.
|
virtual |
Initialise a simulation run for an individual
Implements ssim::cProcess.
Definition at line 35 of file illness-death.cpp.
int illnessDeath::SimplePerson::id |
Definition at line 25 of file illness-death.cpp.
state_t illnessDeath::SimplePerson::state |
Definition at line 24 of file illness-death.cpp.
double illnessDeath::SimplePerson::z |
Definition at line 26 of file illness-death.cpp.