Public Methods | |
TreeNode | compose (TreeNode tree, Case context) |
Vector | getLeafCases (Vector leafCases) |
Vector | getLeaves (Vector leaves) |
void | print (int level) |
TreeNode | specialize (ExprNode leaf, Case context) |
TreeNode (Tree t) | |
TreeNode (TreeNode p) | |
Collection | above () |
Collection | below () |
Collection | children () |
Collection | get (TreeNode n) |
TreeNode | getParent () |
Tree | getTree () |
String | toString (String prefix) |
Private Methods | |
void | addChild (TreeNode n) |
Private Attributes | |
Tree | tree |
TreeNode | parent |
Collection | children |
See CaseNode for more info.
Definition at line 43 of file edu/ksu/cis/bandera/spin/TreeNode.java.
|
Creates a new node as the root of a tree. Definition at line 35 of file gov/nasa/arc/ase/util/TreeNode.java. |
|
Creates a new node under a given node. Definition at line 45 of file gov/nasa/arc/ase/util/TreeNode.java. |
|
Returns the set of nodes above this one. Definition at line 55 of file gov/nasa/arc/ase/util/TreeNode.java. |
|
Adds a children. Definition at line 68 of file gov/nasa/arc/ase/util/TreeNode.java. Referenced by TreeNode().
|
|
Returns the set of nodes below this one. Definition at line 74 of file gov/nasa/arc/ase/util/TreeNode.java. |
|
Returns the children of a node. Definition at line 89 of file gov/nasa/arc/ase/util/TreeNode.java. |
|
Gets all the node under this one that are equal to a given one. Definition at line 96 of file gov/nasa/arc/ase/util/TreeNode.java. Referenced by Tree::get().
|
|
Returns the parent of this node. Definition at line 112 of file gov/nasa/arc/ase/util/TreeNode.java. |
|
Returns the tree the node belongs to. Definition at line 118 of file gov/nasa/arc/ase/util/TreeNode.java. |
|
Returns a string rapresentation of the node and the nodes below. Definition at line 124 of file gov/nasa/arc/ase/util/TreeNode.java. Referenced by Tree::toString().
|
|
The children of this node. Definition at line 30 of file gov/nasa/arc/ase/util/TreeNode.java. |
|
The parent of this node. Definition at line 25 of file gov/nasa/arc/ase/util/TreeNode.java. |
|
The tree the node belongs to. Definition at line 20 of file gov/nasa/arc/ase/util/TreeNode.java. |