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>::
52 void Traverse(
const size_t queryIndex,
54 const bool bruteForce =
false);
73 #include "spill_single_tree_traverser_impl.hpp" Linear algebra utility functions, generally performed on matrices or vectors.
size_t & NumPrunes()
Modify the number of prunes.
The core includes that mlpack expects; standard C++ includes and Armadillo.
A generic single-tree traverser for hybrid spill trees; see spill_single_tree_traverser.hpp for implementation.
A hybrid spill tree is a variant of binary space trees in which the children of a node can "spill ove...
size_t NumPrunes() const
Get the number of prunes.
Definition of generalized hybrid spill tree (SpillTree).