|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjebl.evolution.treemetrics.BilleraMetric
public class BilleraMetric
Billera tree distance - sum of change in branch lengths required to transform one tree to the second Note that this interface is not optimal for a large set where all pairs are required. Creating TreeBiPartitionInfo's as a pre step is better unless memory is an issue.
Constructor Summary | |
---|---|
BilleraMetric()
|
Method Summary | |
---|---|
double |
getMetric(RootedTree tree1,
RootedTree tree2)
calculates the metric between two rooted trees |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BilleraMetric()
Method Detail |
---|
public double getMetric(RootedTree tree1, RootedTree tree2)
RootedTreeMetric
getMetric
in interface RootedTreeMetric
tree1
- first treetree2
- second tree
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |