pal.coalescent
Class CoalescentSimulator

java.lang.Object
  extended by pal.coalescent.CoalescentSimulator

public class CoalescentSimulator
extends java.lang.Object

Simulates a set of coalescent intervals given a demographic model.

Version:
$Id: CoalescentSimulator.java,v 1.5 2001/07/12 12:17:43 korbinian Exp $
Author:
Alexei Drummond, Korbinian Strimmer

Constructor Summary
CoalescentSimulator()
           
 
Method Summary
 CoalescentIntervals simulateIntervals(int numLines, DemographicModel model)
          Simulates a set of CoalescentIntervals from a genealogy assuming contemporaneous tips.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoalescentSimulator

public CoalescentSimulator()
Method Detail

simulateIntervals

public CoalescentIntervals simulateIntervals(int numLines,
                                             DemographicModel model)
Simulates a set of CoalescentIntervals from a genealogy assuming contemporaneous tips.

Parameters:
numLines - the number of tips in the sample genealogy
model - the demographic model to use