Go to the documentation of this file.
12 #ifndef MLPACK_CORE_TREE_OCTREE_SINGLE_TREE_TRAVERSER_HPP
13 #define MLPACK_CORE_TREE_OCTREE_SINGLE_TREE_TRAVERSER_HPP
21 template<
typename MetricType,
typename StatisticType,
typename MatType>
22 template<
typename RuleType>
56 #include "single_tree_traverser_impl.hpp"
The core includes that mlpack expects; standard C++ includes and Armadillo.
void Traverse(const size_t queryIndex, Octree &referenceNode)
Traverse the reference tree with the given query point.
SingleTreeTraverser(RuleType &rule)
Instantiate the traverser with the given rule set.
size_t & NumPrunes()
Modify the number of pruned nodes.
Linear algebra utility functions, generally performed on matrices or vectors.
size_t NumPrunes() const
Get the number of pruned nodes.
A single-tree traverser; see single_tree_traverser.hpp.