public class SerialCoalescentSimulator
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SerialCoalescentSimulator() |
Modifier and Type | Method and Description |
---|---|
Tree |
getTree() |
CoalescentIntervals |
simulateIntervals(TimeOrderCharacterData tocd,
DemographicModel model,
boolean createTree)
Simulates a set of CoalescentIntervals from a genealogy.
|
public CoalescentIntervals simulateIntervals(TimeOrderCharacterData tocd, DemographicModel model, boolean createTree)
tocd
- the time order character data determining the
order and time in which samples are added.model
- the demographic model to usepublic Tree getTree()