Class TransformedRootedTree

  • All Implemented Interfaces:
    Graph, RootedTree, Tree, Attributable

    public class TransformedRootedTree
    extends FilteredRootedTree
    This RootedTree class wraps another RootedTree and transforms the branch lengths and node heights using various functions. Currently implemented are equal lengths (all branch lengths are 1.0) and cladogram (the height of a node is proportional to the number of external nodes). Note that all these functions are recalculated on the fly for every call to getHeight and getLength and it may be desirable to precalculate and cache them.
    Version:
    $Id: TransformedRootedTree.java 545 2006-11-28 00:08:34Z twobeers $
    Author:
    Andrew Rambaut