mlpack
3.1.1
src
mlpack
core
tree
rectangle_tree
r_tree_descent_heuristic.hpp
Go to the documentation of this file.
1
13
#ifndef MLPACK_CORE_TREE_RECTANGLE_TREE_R_TREE_DESCENT_HEURISTIC_HPP
14
#define MLPACK_CORE_TREE_RECTANGLE_TREE_R_TREE_DESCENT_HEURISTIC_HPP
15
16
#include <
mlpack/prereqs.hpp
>
17
18
namespace
mlpack
{
19
namespace
tree {
20
26
class
RTreeDescentHeuristic
27
{
28
public
:
39
template
<
typename
TreeType>
40
static
size_t
ChooseDescentNode
(
const
TreeType* node,
const
size_t
point);
41
52
template
<
typename
TreeType>
53
static
size_t
ChooseDescentNode
(
const
TreeType* node,
54
const
TreeType* insertedNode);
55
};
56
57
}
// namespace tree
58
}
// namespace mlpack
59
60
// Include implementation.
61
#include "r_tree_descent_heuristic_impl.hpp"
62
63
#endif
mlpack::tree::RTreeDescentHeuristic
When descending a RectangleTree to insert a point, we need to have a way to choose a child node when ...
Definition:
r_tree_descent_heuristic.hpp:26
prereqs.hpp
mlpack
@serialization.hpp
Definition:
add_to_po.hpp:21
mlpack::tree::RTreeDescentHeuristic::ChooseDescentNode
static size_t ChooseDescentNode(const TreeType *node, const size_t point)
Evaluate the node using a heuristic.
Generated by
1.8.17