public class CoalescentIntervalGenerator extends java.lang.Object implements IntervalGenerator
| Constructor and Description |
|---|
CoalescentIntervalGenerator(DemographicFunction demographicFunction) |
| Modifier and Type | Method and 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 IntervalGeneratorlineageCount - the number of lineages presentcurrentHeight - the starting heighthttp://code.google.com/p/jebl2/