A single-tree cover tree traverser; see single_tree_traverser.hpp for implementation. More...
Public Member Functions | |
SingleTreeTraverser (RuleType &rule) | |
Initialize the single tree traverser with the given rule. More... | |
size_t | NumPrunes () const |
Get the number of prunes so far. More... | |
size_t & | NumPrunes () |
Set the number of prunes (good for a reset to 0). More... | |
void | Traverse (const size_t queryIndex, CoverTree &referenceNode) |
Traverse the tree with the given point. More... | |
A single-tree cover tree traverser; see single_tree_traverser.hpp for implementation.
Definition at line 273 of file cover_tree.hpp.
SingleTreeTraverser | ( | RuleType & | rule | ) |
Initialize the single tree traverser with the given rule.
|
inline |
Get the number of prunes so far.
Definition at line 50 of file single_tree_traverser.hpp.
|
inline |
Set the number of prunes (good for a reset to 0).
Definition at line 52 of file single_tree_traverser.hpp.
void Traverse | ( | const size_t | queryIndex, |
CoverTree & | referenceNode | ||
) |
Traverse the tree with the given point.
queryIndex | The index of the point in the query set which is used as the query point. |
referenceNode | The tree node to be traversed. |