- <init>
Creates a new DelegateTree which delegates to graph. Assumes that graph is
already a tree; if it's n
- addChild
add the passed child node as a child of parent. parent must exist in the tree,
and child must not al
- getChildren
get the immediate children nodes of the passed parent
- getParent
get the single parent node of the passed child
- isLeaf
- isRoot
- addEdge
- addVertex
Will set the root of the Tree, only if the Tree is empty and the root is
currently unset.
- getDepth
computes and returns the depth of the tree from the root to the passed vertex
- getInEdges
- getOutEdges
- getVertices