|
Algorithm Development Kit 1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVisitKDNode
Provides interface to enable traversals over KD trees to be defined.
In generic traversals (where the entire tree is visited) the visit(DimensionalNode)
method is likely the only one to be invoked. However for some algorithms a particular
subtree rooted at a DimensionalNode
needs to be processed; in this case, the
method to invoke is drain(DimensionalNode)
.
Method Summary | |
---|---|
void |
drain(DimensionalNode node)
Specialized behavior during search traversals when an entire sub-tree is visited. |
void |
visit(DimensionalNode node)
Specialized behavior during traversals for each node being visited. |
Method Detail |
---|
void visit(DimensionalNode node)
node
- the node being visited.void drain(DimensionalNode node)
|
Algorithm Development Kit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |