RootedTreeMetric
public class RobinsonsFouldMetric extends java.lang.Object implements RootedTreeMetric
Constructor | Description |
---|---|
RobinsonsFouldMetric() |
|
RobinsonsFouldMetric(java.util.List<Taxon> taxa) |
Modifier and Type | Method | Description |
---|---|---|
double |
getMetric(RootedTree tree1,
RootedTree tree2) |
calculates the metric between two rooted trees
|
public RobinsonsFouldMetric()
public RobinsonsFouldMetric(java.util.List<Taxon> taxa)
public double getMetric(RootedTree tree1, RootedTree tree2)
RootedTreeMetric
getMetric
in interface RootedTreeMetric
tree1
- first treetree2
- second treehttp://code.google.com/p/jebl2/