|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Action that is performed by a search node when it is visited
Method Summary | |
void |
ascendedToClosedNode(TreeNode previous,
TreeNode current)
Called by search tree when the current node is changed to a parent node of existing current node Node must have previously been activated. |
void |
descendedToClosedNode(TreeNode previous,
TreeNode current)
Called by search tree when the current node is changed to a child node of existing current node. |
void |
descendedToOpenNode(TreeNode previous,
TreeNode current)
Called by search tree when the node that is being moved to is a node that has not yet been activated |
void |
jumpedToClosedNode(TreeNode previous,
TreeNode current)
Called by search tree when the current node in the tree has changed from one node to another and no direct relationship between the two nodes may exist Node must have previously been activated. |
Method Detail |
public void descendedToClosedNode(TreeNode previous, TreeNode current)
previous
- Node that was current in treecurrent
- Node that is now current in treepublic void ascendedToClosedNode(TreeNode previous, TreeNode current)
previous
- Node that was current in treecurrent
- Node that is now current in treepublic void jumpedToClosedNode(TreeNode previous, TreeNode current)
previous
- Node that was current in treecurrent
- Node that is now current in treepublic void descendedToOpenNode(TreeNode previous, TreeNode current)
previous
- Node that was current in treecurrent
- Node that is now current in tree
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |