IntervalGenerator
public class CoalescentIntervalGenerator extends java.lang.Object implements IntervalGenerator
Constructor | Description |
---|---|
CoalescentIntervalGenerator(DemographicFunction demographicFunction) |
Modifier and Type | Method | Description |
---|---|---|
double |
getInterval(double criticalValue,
int lineageCount,
double currentHeight) |
Calculates the waiting time to the next coalescent for a given critical value
(an intensity).
|
public CoalescentIntervalGenerator(DemographicFunction demographicFunction)
public double getInterval(double criticalValue, int lineageCount, double currentHeight)
getInterval
in interface IntervalGenerator
lineageCount
- the number of lineages presentcurrentHeight
- the starting heighthttp://code.google.com/p/jebl2/