pal.coalescent
Class SerialCoalescentSimulator

java.lang.Object
  extended by 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
SerialCoalescentSimulator()
           
 
Method Summary
 Tree getTree()
           
 CoalescentIntervals simulateIntervals(TimeOrderCharacterData tocd, DemographicModel model, boolean createTree)
          Simulates a set of CoalescentIntervals from a genealogy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialCoalescentSimulator

public SerialCoalescentSimulator()
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()