Class GillespieProbability¶
- Defined in File GillespieCalculator.h
Class Documentation¶
-
class
GillespieProbability¶ Public Functions
-
GillespieProbability()¶
-
GillespieProbability(const MapLocation &c)¶
-
void
setDispersalOutsideCellProbability(const double &d)¶
-
void
setCoalescenceProbability(const double &c)¶
-
void
setSpeciationProbability(const double &s)¶
-
void
setRandomNumber(const double &r)¶
-
double
getInCellProbability() const¶
-
MapLocation &
getMapLocation()¶
-
const MapLocation &
getMapLocation() const¶
-
double
getLambda(const double &local_death_rate, const double &summed_death_rate, const unsigned long &n) const¶ Gets the parameter for the exponential function.
The rate is per birth-death event on the whole landscape.
- Return
- lambda
- Parameters
summed_death_rate:n:total_n:
-
double
calcTimeToNextEvent(const double &local_death_rate, const double &mean_death_rate, const unsigned long &n) const¶
-
void
reset()¶
-