Go to the documentation of this file.
17 #ifndef MLPACK_CORE_TREE_SPILL_TREE_SPILL_SINGLE_TREE_TRAVERSER_HPP
18 #define MLPACK_CORE_TREE_SPILL_TREE_SPILL_SINGLE_TREE_TRAVERSER_HPP
27 template<
typename MetricType,
28 typename StatisticType,
30 template<
typename HyperplaneMetricType>
class HyperplaneType,
31 template<
typename SplitMetricType,
typename SplitMatType>
33 template<
typename RuleType,
bool Defeatist>
34 class SpillTree<MetricType, StatisticType, MatType, HyperplaneType, SplitType>::
54 const bool bruteForce =
false);
73 #include "spill_single_tree_traverser_impl.hpp"
The core includes that mlpack expects; standard C++ includes and Armadillo.
size_t & NumPrunes()
Modify the number of prunes.
Linear algebra utility functions, generally performed on matrices or vectors.
SpillSingleTreeTraverser(RuleType &rule)
Instantiate the single tree traverser with the given rule set.
void Traverse(const size_t queryIndex, SpillTree &referenceNode, const bool bruteForce=false)
Traverse the tree with the given point.
size_t NumPrunes() const
Get the number of prunes.
A generic single-tree traverser for hybrid spill trees; see spill_single_tree_traverser....
A hybrid spill tree is a variant of binary space trees in which the children of a node can "spill ove...