14 #ifndef __MLPACK_CORE_TREE_BINARY_SPACE_TREE_TRAITS_HPP 15 #define __MLPACK_CORE_TREE_BINARY_SPACE_TREE_TRAITS_HPP 28 template<
typename MetricType,
29 typename StatisticType,
31 template<
typename BoundMetricType>
class BoundType,
32 template<
typename SplitBoundType,
typename SplitMatType>
Linear algebra utility functions, generally performed on matrices or vectors.
static const bool RearrangesDataset
This is true if the tree rearranges points in the dataset when it is built.
A binary space partitioning tree, such as a KD-tree or a ball tree.
static const bool HasOverlappingChildren
This is true if the subspaces represented by the children of a node can overlap.
static const bool FirstPointIsCentroid
This is true if Point(0) is the centroid of the node.
The TreeTraits class provides compile-time information on the characteristics of a given tree type...
static const bool BinaryTree
This is true if the tree always has only two children.
static const bool HasSelfChildren
This is true if the points contained in the first child of a node (Child(0)) are also contained in th...