A generic single-tree traverser for hybrid spill trees; see spill_single_tree_traverser.hpp for implementation. More...
Public Member Functions | |
SpillSingleTreeTraverser (RuleType &rule) | |
Instantiate the single tree traverser with the given rule set. More... | |
size_t | NumPrunes () const |
Get the number of prunes. More... | |
size_t & | NumPrunes () |
Modify the number of prunes. More... | |
void | Traverse (const size_t queryIndex, SpillTree &referenceNode, const bool bruteForce=false) |
Traverse the tree with the given point. More... | |
A generic single-tree traverser for hybrid spill trees; see spill_single_tree_traverser.hpp for implementation.
The Defeatist template parameter determines if the traverser must do defeatist search on overlapping nodes.
Definition at line 34 of file spill_single_tree_traverser.hpp.
SpillSingleTreeTraverser | ( | RuleType & | rule | ) |
Instantiate the single tree traverser with the given rule set.
|
inline |
Get the number of prunes.
Definition at line 57 of file spill_single_tree_traverser.hpp.
|
inline |
Modify the number of prunes.
Definition at line 59 of file spill_single_tree_traverser.hpp.
void Traverse | ( | const size_t | queryIndex, |
SpillTree & | referenceNode, | ||
const bool | bruteForce = false |
||
) |
Traverse the tree with the given point.
queryIndex | The index of the point in the query set which is being used as the query point. |
referenceNode | The tree node to be traversed. |
bruteForce | If true, then do a brute-force search on the reference node instead of traversing any further. |