Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
Util.Structures.TreeNode

Packages that use TreeNode
Mapper |
Util.Structures |

Uses of TreeNode in Mapper

Subclasses of TreeNode in Mapper
`class` | `DerivationNode`

Methods in Mapper that return TreeNode
`protected TreeNode<Symbol>` | `DerivationTree.newNode()`

Constructors in Mapper with parameters of type TreeNode
`DerivationNode(TreeNode<Symbol> copy)`
`DerivationNode(TreeNode<Symbol> parent, Symbol data)`

Uses of TreeNode in Util.Structures

Methods in Util.Structures that return TreeNode
`TreeNode<E>` | `NimbleTree.getCurrentNode()` Get current node
`TreeNode<E>` | `TreeNode.getEnd()` Get the last node
`TreeNode<E>` | `TreeNode.getParent()` Get parent node
`TreeNode<E>` | `NimbleTree.getRoot()` Get root of tree
`protected TreeNode<E>` | `NimbleTree.newNode()`

Methods in Util.Structures that return types with arguments of type TreeNode
`java.util.ArrayList<TreeNode<E>>` | `NimbleTree.depthFirstTraversal(TreeNode<E> root)` Do a depth-first traversal of the tree starting at a given node.
`java.util.ArrayList<TreeNode<E>>` | `NimbleTree.getAncestorChain(TreeNode<E> node, int n)` Starting at a given node, get a chain of ancestors of length n or less.
`java.util.ArrayList<java.util.ArrayList<TreeNode<E>>>` | `NimbleTree.getAncestorChains(int n)` Get all the chains of ancestors of length n in this tree.
`java.util.ArrayList<java.util.ArrayList<TreeNode<E>>>` | `NimbleTree.getRootToLeafPaths()` Find all the paths from root to leaves.

Methods in Util.Structures with parameters of type TreeNode
`boolean` | `TreeNode.add(TreeNode<E> child)` Adds a child node to this node.
`java.util.ArrayList<TreeNode<E>>` | `NimbleTree.depthFirstTraversal(TreeNode<E> root)` Do a depth-first traversal of the tree starting at a given node.
`java.util.ArrayList<TreeNode<E>>` | `NimbleTree.getAncestorChain(TreeNode<E> node, int n)` Starting at a given node, get a chain of ancestors of length n or less.
`java.util.ArrayList<java.lang.Integer>` | `NimbleTree.getBranchLengths(TreeNode<E> root)`
`void` | `NimbleTree.setCurrentNode(TreeNode<E> tn)` Set current node
`void` | `TreeNode.setParent(TreeNode<E> tn)` Set parent node
`void` | `NimbleTree.setRoot(TreeNode<E> tn)` Set tree root

Constructors in Util.Structures with parameters of type TreeNode
`TreeNode(TreeNode<E> copy)` Copy constructor
`TreeNode(TreeNode<E> parent, E data)` Create node with parent and data
`TreeNode(TreeNode<E> copy, TreeNode<E> parent)`
`TreeNode(TreeNode<E> copy, TreeNode<E> parent)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES