Package pal.coalescent
Class SerialCoalescentSimulator
java.lang.Object
pal.coalescent.SerialCoalescentSimulator
- All Implemented Interfaces:
Serializable
Simulates a set of coalescent intervals given a demographic model.
- Version:
- $Id: SerialCoalescentSimulator.java,v 1.3 2002/10/03 06:06:55 matt Exp $
- Author:
- Alexei Drummond
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTree()
simulateIntervals
(TimeOrderCharacterData tocd, DemographicModel model, boolean createTree) Simulates a set of CoalescentIntervals from a genealogy.
-
Constructor Details
-
SerialCoalescentSimulator
public SerialCoalescentSimulator()
-
-
Method Details
-
simulateIntervals
public CoalescentIntervals simulateIntervals(TimeOrderCharacterData tocd, DemographicModel model, boolean createTree) Simulates a set of CoalescentIntervals from a genealogy.- Parameters:
tocd
- the time order character data determining the order and time in which samples are added.model
- the demographic model to use
-
getTree
-