mlpack  2.0.1
r_tree_descent_heuristic.hpp
Go to the documentation of this file.
1 
15 #ifndef __MLPACK_CORE_TREE_RECTANGLE_TREE_R_TREE_DESCENT_HEURISTIC_HPP
16 #define __MLPACK_CORE_TREE_RECTANGLE_TREE_R_TREE_DESCENT_HEURISTIC_HPP
17 
18 #include <mlpack/core.hpp>
19 
20 namespace mlpack {
21 namespace tree {
22 
29 {
30  public:
41  template<typename TreeType>
42  static size_t ChooseDescentNode(const TreeType* node, const arma::vec& point);
43 
54  template<typename TreeType>
55  static size_t ChooseDescentNode(const TreeType* node,
56  const TreeType* insertedNode);
57 };
58 
59 } // namespace tree
60 } // namespace mlpack
61 
62 // Include implementation.
63 #include "r_tree_descent_heuristic_impl.hpp"
64 
65 #endif
static size_t ChooseDescentNode(const TreeType *node, const arma::vec &point)
Evaluate the node using a heuristic.
Linear algebra utility functions, generally performed on matrices or vectors.
Include all of the base components required to write MLPACK methods, and the main MLPACK Doxygen docu...
When descending a RectangleTree to insert a point, we need to have a way to choose a child node when ...