Package jebl.evolution.trees
Class CladeSystem
java.lang.Object
jebl.evolution.trees.CladeSystem
- Direct Known Subclasses:
AttributedCladeSystem
Stores a set of unique clades for a tree
- Version:
- $Id: CladeSystem.java 892 2008-02-27 03:53:11Z twobeers $
- Author:
- Andrew Rambaut
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(RootedTree tree) adds all the clades in the treegetClade
(int index) int
get number of unique cladesdouble
getCladeFrequency
(int index) get clade frequencygetCladeString
(int index)
-
Constructor Details
-
CladeSystem
public CladeSystem() -
CladeSystem
- Parameters:
tree
-
-
-
Method Details
-
getCladeCount
public int getCladeCount()get number of unique clades -
getClade
-
getCladeString
-
getCladeFrequency
public double getCladeFrequency(int index) get clade frequency -
add
adds all the clades in the tree
-