Simpact Cyan
Population based event driven simulation using mNRM
|
Helper class for time dependent exponential hazards. More...
#include <hazardfunctionexp.h>
Public Member Functions | |
HazardFunctionExp (double A=0, double B=0) | |
Constructor which specifies the parameters in exp(A+Bt). More... | |
double | evaluate (double t) |
Evaluate the hazard at time t . More... | |
double | calculateInternalTimeInterval (double t0, double dt) |
Map the real-world time dt to an internal time interval. More... | |
double | solveForRealTimeInterval (double t0, double Tdiff) |
For the specified internal time interval Tdiff, calculate the corresponding real-world time interval. More... | |
Helper class for time dependent exponential hazards.
This is a helper class for hazards of the form
.
|
inline |
Constructor which specifies the parameters in exp(A+Bt).
|
inlinevirtual |
Map the real-world time dt
to an internal time interval.
This calculates:
Implements HazardFunction.
|
inlinevirtual |
Evaluate the hazard at time t
.
Implements HazardFunction.
|
inlinevirtual |
For the specified internal time interval Tdiff, calculate the corresponding real-world time interval.
This solves the following equation for :
Implements HazardFunction.