mlpack 3.4.2
is_spill_tree.hpp
Go to the documentation of this file.
1
11#ifndef MLPACK_CORE_TREE_SPILL_TREE_IS_SPILL_TREE_HPP
12#define MLPACK_CORE_TREE_SPILL_TREE_IS_SPILL_TREE_HPP
13
14#include "spill_tree.hpp"
15
16namespace mlpack {
17namespace tree {
18
19// Useful struct when specific behaviour for SpillTrees is required.
20template<typename TreeType>
22{
23 static const bool value = false;
24};
25
26// Specialization for SpillTree.
27template<typename MetricType,
28 typename StatisticType,
29 typename MatType,
30 template<typename HyperplaneMetricType>
31 class HyperplaneType,
32 template<typename SplitMetricType, typename SplitMatType>
33 class SplitType>
34struct IsSpillTree<tree::SpillTree<MetricType, StatisticType, MatType,
35 HyperplaneType, SplitType>>
36{
37 static const bool value = true;
38};
39
40} // namespace tree
41} // namespace mlpack
42
43#endif
A hybrid spill tree is a variant of binary space trees in which the children of a node can "spill ove...
Definition: spill_tree.hpp:74
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
Definition of generalized hybrid spill tree (SpillTree).
static const bool value