pal.tree
Class NeighborJoiningTree

java.lang.Object
  |
  +--pal.tree.SimpleTree
        |
        +--pal.tree.NeighborJoiningTree
All Implemented Interfaces:
Report, java.io.Serializable, Tree, Units

public class NeighborJoiningTree
extends SimpleTree

constructs a neighbor-joining tree from pairwise distances

See Also:
Serialized Form

Fields inherited from interface pal.misc.Units
DAYS, EXPECTED_SUBSTITUTIONS, GENERATIONS, MONTHS, YEARS
 
Constructor Summary
NeighborJoiningTree(DistanceMatrix m)
          construct NJ tree
 
Methods inherited from class pal.tree.SimpleTree
createNodeList, findNode, getAttribute, getExternalNode, getExternalNodeCount, getInternalNode, getInternalNodeCount, getRoot, getUnits, report, reroot, reroot, setAttribute, setRoot, setUnits, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NeighborJoiningTree

public NeighborJoiningTree(DistanceMatrix m)
construct NJ tree
Parameters:
m - distance matrix