14 #ifndef MLPACK_CORE_TREE_RECTANGLE_TREE_SINGLE_TREE_TRAVERSER_HPP 15 #define MLPACK_CORE_TREE_RECTANGLE_TREE_SINGLE_TREE_TRAVERSER_HPP 24 template<
typename MetricType,
25 typename StatisticType,
29 template<
typename>
class AuxiliaryInformationType>
30 template<
typename RuleType>
31 class RectangleTree<MetricType, StatisticType, MatType, SplitType,
32 DescentType, AuxiliaryInformationType>::SingleTreeTraverser
38 SingleTreeTraverser(RuleType& rule);
47 void Traverse(
const size_t queryIndex,
const RectangleTree& referenceNode);
63 static bool NodeComparator(
const NodeAndScore& obj1,
const NodeAndScore& obj2)
65 return obj1.score < obj2.score;
79 #include "single_tree_traverser_impl.hpp" Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
size_t & NumPrunes()
Modify the number of prunes.
A rectangle type tree tree, such as an R-tree or X-tree.
size_t NumPrunes() const
Get the number of prunes.
RectangleTree()
A default constructor.