public class DistanceTreeEvaluator
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static double |
evaluate(Phylogeny tree,
DistanceMatrix matrix)
Evaluate the goodness of fit of a given tree to the original distance
matrix.
|
public static double evaluate(Phylogeny tree, DistanceMatrix matrix)
This measure can also give an estimate of the quality of the distance matrix, because a bad fit may mean that the distance is non-additive.
tree
- Phylogenetic Distance Tree to evaluatematrix
- Distance Matrix with the original distances