13 #ifndef MLPACK_CORE_TREE_RECTANGLE_TREE_RPP_TREE_DESCENT_HEURISTIC_IMPL_HPP 14 #define MLPACK_CORE_TREE_RECTANGLE_TREE_RPP_TREE_DESCENT_HEURISTIC_IMPL_HPP 17 #include "../hrectbound.hpp" 22 template<
typename TreeType>
24 TreeType* node,
const size_t point)
27 for (
size_t bestIndex = 0; bestIndex < node->NumChildren(); bestIndex++)
29 if (node->Child(bestIndex).AuxiliaryInfo().OuterBound().Contains(
30 node->Dataset().col(point)))
40 template<
typename TreeType>
42 const TreeType* ,
const TreeType* )
53 #endif // MLPACK_CORE_TREE_RECTANGLE_TREE_RPP_TREE_DESCENT_HEURISTIC_IMPL_HPP
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
static size_t ChooseDescentNode(TreeType *node, const size_t point)
Evaluate the node using a heuristic.
Definition: r_plus_plus_tree_descent_heuristic_impl.hpp:23