import java.util.List;
/**
- * Interface for a generic phylogenetic tree, this does not necessarily have to
- * be part of a tree panel.
+ * Interface for implementing a phylogenetic tree.
*
* @author kjvanderheide
*
public TreeNodeI[] getAllNodes();
+ /**
+ * Gets the node that has the maximum branch length from the root (or top
+ * level node if tree is unrooted).
+ *
+ * @return
+ */
public TreeNodeI getFurthestNode();
- public double getHeight(boolean adjustForCollapsedSubtrees);
+ /**
+ * Returns the longest total branch length from the root to a leaf node.
+ *
+ * @param adjustForCollapsedSubtrees
+ * true if nodes part of a collapsed (hidden) subtree should be
+ * considered.
+ * @return
+ */
+ public double getMaximumLength(boolean adjustForCollapsedSubtrees);
public List<SequenceI> getNodeSequences();