Package pal.coalescent
Class SerialCoalescentSimulator
- java.lang.Object
-
- pal.coalescent.SerialCoalescentSimulator
-
- All Implemented Interfaces:
java.io.Serializable
public class SerialCoalescentSimulator extends java.lang.Object implements java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SerialCoalescentSimulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tree
getTree()
CoalescentIntervals
simulateIntervals(TimeOrderCharacterData tocd, DemographicModel model, boolean createTree)
Simulates a set of CoalescentIntervals from a genealogy.
-
-
-
Method Detail
-
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
public Tree getTree()
-
-