jebl.evolution.trees
Class CladeSystem

java.lang.Object
  extended by jebl.evolution.trees.CladeSystem

public class CladeSystem
extends Object

Stores a set of unique clades for a tree

Author:
Andrew Rambaut

Constructor Summary
CladeSystem()
           
CladeSystem(RootedTree tree)
           
 
Method Summary
 void add(RootedTree tree)
          adds all the clades in the tree
 Set<Taxon> getClade(int index)
           
 int getCladeCount()
          get number of unique clades
 double getCladeFrequency(int index)
          get clade frequency
 String getCladeString(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CladeSystem

public CladeSystem()

CladeSystem

public CladeSystem(RootedTree tree)
Parameters:
tree -
Method Detail

getCladeCount

public int getCladeCount()
get number of unique clades


getClade

public Set<Taxon> getClade(int index)

getCladeString

public String getCladeString(int index)

getCladeFrequency

public double getCladeFrequency(int index)
get clade frequency


add

public void add(RootedTree tree)
adds all the clades in the tree