pal.coalescent
Class SerialCoalescentGenerator.Results

java.lang.Object
  extended by pal.coalescent.SerialCoalescentGenerator.Results
Enclosing class:
SerialCoalescentGenerator

public static final class SerialCoalescentGenerator.Results
extends java.lang.Object

A simple wrapper class for containing the results which may either be a number of trees, or a number of trees and alignments (in parallel arrays)


Constructor Summary
SerialCoalescentGenerator.Results(Tree[] trees)
           
SerialCoalescentGenerator.Results(Tree[] trees, Alignment[] alignments)
           
 
Method Summary
 Alignment[] getAlignments()
           
 int getNumberOfPopulations()
           
 Tree[] getTrees()
           
 boolean hasAlignments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialCoalescentGenerator.Results

public SerialCoalescentGenerator.Results(Tree[] trees)

SerialCoalescentGenerator.Results

public SerialCoalescentGenerator.Results(Tree[] trees,
                                         Alignment[] alignments)
Method Detail

getTrees

public final Tree[] getTrees()

getAlignments

public final Alignment[] getAlignments()

hasAlignments

public final boolean hasAlignments()

getNumberOfPopulations

public final int getNumberOfPopulations()
Returns:
the number of trees, or the number of tree/alignment pairs