mlpack
|
A single-tree cover tree traverser; see single_tree_traverser.hpp for implementation. More...
#include <cover_tree.hpp>
Public Member Functions | |
SingleTreeTraverser (RuleType &rule) | |
Initialize the single tree traverser with the given rule. | |
void | Traverse (const size_t queryIndex, CoverTree &referenceNode) |
Traverse the tree with the given point. More... | |
size_t | NumPrunes () const |
Get the number of prunes so far. | |
size_t & | NumPrunes () |
Set the number of prunes (good for a reset to 0). | |
A single-tree cover tree traverser; see single_tree_traverser.hpp for implementation.
void mlpack::tree::CoverTree< MetricType, StatisticType, MatType, RootPointPolicy >::SingleTreeTraverser< RuleType >::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. |