Package jebl.evolution.treemetrics
Class RobinsonsFouldMetric
java.lang.Object
jebl.evolution.treemetrics.RobinsonsFouldMetric
- All Implemented Interfaces:
RootedTreeMetric
- Version:
- $Id$
- Author:
- Andrew Rambaut
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
getMetric
(RootedTree tree1, RootedTree tree2) calculates the metric between two rooted trees
-
Constructor Details
-
RobinsonsFouldMetric
public RobinsonsFouldMetric() -
RobinsonsFouldMetric
-
-
Method Details
-
getMetric
Description copied from interface:RootedTreeMetric
calculates the metric between two rooted trees- Specified by:
getMetric
in interfaceRootedTreeMetric
- Parameters:
tree1
- first treetree2
- second tree- Returns:
- the tree metric value
-