Class 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 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