14 #ifndef MLPACK_CORE_TREE_GREEDY_SINGLE_TREE_TRAVERSER_HPP 15 #define MLPACK_CORE_TREE_GREEDY_SINGLE_TREE_TRAVERSER_HPP 22 template<
typename TreeType,
typename RuleType>
38 void Traverse(
const size_t queryIndex, TreeType& referenceNode);
55 #include "greedy_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.
GreedySingleTreeTraverser(RuleType &rule)
Instantiate the greedy single tree traverser with the given rule set.
size_t NumPrunes() const
Get the number of prunes.
void Traverse(const size_t queryIndex, TreeType &referenceNode)
Traverse the tree with the given point.