pal.coalescent
Class SerialCoalescentGenerator.Results
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerialCoalescentGenerator.Results
public SerialCoalescentGenerator.Results(Tree[] trees)
SerialCoalescentGenerator.Results
public SerialCoalescentGenerator.Results(Tree[] trees,
Alignment[] alignments)
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