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>
23 class Octree<MetricType, StatisticType, MatType>::SingleTreeTraverser
29 SingleTreeTraverser(RuleType& rule);
38 void Traverse(
const size_t queryIndex,
Octree& referenceNode);
56 #include "single_tree_traverser_impl.hpp"
Octree()
A default constructor.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
size_t NumPrunes() const
Get the number of pruned nodes.
size_t & NumPrunes()
Modify the number of pruned nodes.