Package jebl.evolution.trees
Class AbstractRootedTree
java.lang.Object
jebl.evolution.trees.AbstractRootedTree
- All Implemented Interfaces:
Graph,RootedTree,Tree,Attributable
- Direct Known Subclasses:
FilteredRootedTree,MutableRootedTree,ReRootedTree,RootedFromUnrooted,RootedSubtree
- Version:
- $
- Author:
- Andrew Rambaut
-
Nested Class Summary
Nested classes/interfaces inherited from interface jebl.evolution.graphs.Graph
Graph.NoEdgeException, Graph.Utils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetExternalNodeCount(Node node) getExternalNodes(Node node) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jebl.util.Attributable
getAttribute, getAttributeMap, getAttributeNames, removeAttribute, setAttributeMethods inherited from interface jebl.evolution.graphs.Graph
getAdjacencies, getEdge, getEdgeLength, getEdges, getEdges, getNodes, getNodes, getNodesMethods inherited from interface jebl.evolution.trees.RootedTree
conceptuallyUnrooted, getChildren, getHeight, getLength, getParent, getRootNode, hasHeights, hasLengths, isHeightsKnown, isLengthsKnown, isRootMethods inherited from interface jebl.evolution.trees.Tree
getExternalEdges, getExternalNodes, getInternalEdges, getInternalNodes, getNode, getTaxa, getTaxon, isExternal, renameTaxa
-
Constructor Details
-
AbstractRootedTree
public AbstractRootedTree()
-
-
Method Details
-
getExternalNodeCount
- Specified by:
getExternalNodeCountin interfaceRootedTree
-
getExternalNodes
- Specified by:
getExternalNodesin interfaceRootedTree- Parameters:
node- the node whose external nodes are being requested.- Returns:
- the list of external nodes descendent of the given node. The set may be empty for a terminal node (a tip).
-