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