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