16 #ifndef __MLPACK_CORE_TREE_RECTANGLE_TREE_SINGLE_TREE_TRAVERSER_HPP 17 #define __MLPACK_CORE_TREE_RECTANGLE_TREE_SINGLE_TREE_TRAVERSER_HPP 26 template<
typename MetricType,
27 typename StatisticType,
31 template<
typename RuleType>
32 class RectangleTree<MetricType, StatisticType, MatType, SplitType,
33 DescentType>::SingleTreeTraverser
39 SingleTreeTraverser(RuleType& rule);
48 void Traverse(
const size_t queryIndex,
const RectangleTree& referenceNode);
81 #include "single_tree_traverser_impl.hpp" size_t numPrunes
The number of nodes which have been prenud during traversal.
Linear algebra utility functions, generally performed on matrices or vectors.
RectangleTree()
A default constructor.
size_t NumPrunes() const
Get the number of prunes.
static bool NodeComparator(const NodeAndScore &obj1, const NodeAndScore &obj2)
RuleType & rule
Reference to the rules with which the tree will be traversed.
size_t & NumPrunes()
Modify the number of prunes.
A rectangle type tree tree, such as an R-tree or X-tree.
Include all of the base components required to write MLPACK methods, and the main MLPACK Doxygen docu...