|
Algorithm Development Kit 1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectalgs.model.kdtree.CounterKDTree
public class CounterKDTree
Helper class to simply keep track of the number of selected nodes that are visited by a traversal.
| Constructor Summary | |
|---|---|
CounterKDTree()
|
|
| Method Summary | |
|---|---|
void |
drain(DimensionalNode node)
Specialized behavior during search traversals when an entire sub-tree is visited. |
int |
getCount()
Retrieve the counter value. |
void |
reset()
Reset the counter. |
void |
visit(DimensionalNode node)
Specialized behavior during traversals for each node being visited. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CounterKDTree()
| Method Detail |
|---|
public void drain(DimensionalNode node)
IVisitKDNode
drain in interface IVisitKDNodepublic void visit(DimensionalNode node)
IVisitKDNode
visit in interface IVisitKDNodenode - the node being visited.public void reset()
public int getCount()
|
Algorithm Development Kit 1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||