mlpack  2.0.1
r_star_tree_descent_heuristic.hpp
Go to the documentation of this file.
1 
15 #ifndef __MLPACK_CORE_TREE_RECTANGLE_TREE_R_STAR_TREE_DESCENT_HEURISTIC_HPP
16 #define __MLPACK_CORE_TREE_RECTANGLE_TREE_R_STAR_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 
44  template<typename TreeType>
45  static size_t ChooseDescentNode(const TreeType* node,
46  const TreeType* insertedNode);
47 };
48 
49 } // namespace tree
50 } // namespace mlpack
51 
52 // Include implementation.
53 #include "r_star_tree_descent_heuristic_impl.hpp"
54 
55 #endif
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 Rectangle tree to insert a point, we need to have a way to choose a child node when...
static size_t ChooseDescentNode(const TreeType *node, const arma::vec &point)
Evaluate the node using a hueristic.