13 #ifndef MLPACK_CORE_TREE_RECTANGLE_TREE_HR_TREE_DESCENT_HEURISTIC_IMPL_HPP 14 #define MLPACK_CORE_TREE_RECTANGLE_TREE_HR_TREE_DESCENT_HEURISTIC_IMPL_HPP 21 template<
typename TreeType>
28 for (bestIndex = 0; bestIndex < node->NumChildren() - 1; bestIndex++)
29 if (node->Child(bestIndex).AuxiliaryInfo().HilbertValue().
30 CompareWithCachedPoint(node->Dataset().col(point)) > 0)
36 template<
typename TreeType>
43 for (bestIndex = 0; bestIndex < node->NumChildren() - 1; bestIndex++)
44 if (node->Child(bestIndex).AuxiliaryInfo().HilbertValue().
45 CompareWith(node, node->AuxiliaryInfo().HilbertValue()) > 0)
54 #endif // MLPACK_CORE_TREE_RECTANGLE_TREE_HR_TREE_DESCENT_HEURISTIC_IMPL_HPP Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
static size_t ChooseDescentNode(const TreeType *node, const size_t point)
Evaluate the node using a heuristic.
Definition: hilbert_r_tree_descent_heuristic_impl.hpp:22