16 #ifndef __MLPACK_CORE_TREE_COVER_TREE_SINGLE_TREE_TRAVERSER_HPP
17 #define __MLPACK_CORE_TREE_COVER_TREE_SINGLE_TREE_TRAVERSER_HPP
28 typename StatisticType,
30 typename RootPointPolicy
32 template<
typename RuleType>
33 class CoverTree<MetricType, StatisticType, MatType, RootPointPolicy>::
49 void Traverse(
const size_t queryIndex,
CoverTree& referenceNode);
68 #include "single_tree_traverser_impl.hpp"
Linear algebra utility functions, generally performed on matrices or vectors.
RuleType & rule
Reference to the rules with which the tree will be traversed.
size_t & NumPrunes()
Set the number of prunes (good for a reset to 0).
size_t NumPrunes() const
Get the number of prunes so far.
Include all of the base components required to write MLPACK methods, and the main MLPACK Doxygen docu...
A single-tree cover tree traverser; see single_tree_traverser.hpp for implementation.
size_t numPrunes
The number of nodes which have been pruned during traversal.
A cover tree is a tree specifically designed to speed up nearest-neighbor computation in high-dimensi...