TreeTraits< BinarySpaceTree< MetricType, StatisticType, MatType, bound::BallBound, SplitType > > Class Template Reference

This is a specialization of the TreeType class to the BallTree tree type. More...

Static Public Attributes

static const bool BinaryTree = true
 
static const bool FirstPointIsCentroid = false
 
static const bool HasDuplicatedPoints = false
 
static const bool HasOverlappingChildren = true
 
static const bool HasSelfChildren = false
 
static const bool RearrangesDataset = true
 
static const bool UniqueNumDescendants = true
 

Detailed Description


template
<
typename
MetricType
,
typename
StatisticType
,
typename
MatType
,
template
<
typename
SplitBoundType
,
typename
SplitMatType
>
class
SplitType
>

class mlpack::tree::TreeTraits< BinarySpaceTree< MetricType, StatisticType, MatType, bound::BallBound, SplitType > >

This is a specialization of the TreeType class to the BallTree tree type.

The only difference with general BinarySpaceTree is that BallTree can have overlapping children. See mlpack/core/tree/tree_traits.hpp for more information.

Definition at line 187 of file traits.hpp.

Member Data Documentation

◆ BinaryTree

const bool BinaryTree = true
static

Definition at line 196 of file traits.hpp.

◆ FirstPointIsCentroid

const bool FirstPointIsCentroid = false
static

Definition at line 193 of file traits.hpp.

◆ HasDuplicatedPoints

const bool HasDuplicatedPoints = false
static

Definition at line 192 of file traits.hpp.

◆ HasOverlappingChildren

const bool HasOverlappingChildren = true
static

Definition at line 191 of file traits.hpp.

◆ HasSelfChildren

const bool HasSelfChildren = false
static

Definition at line 194 of file traits.hpp.

◆ RearrangesDataset

const bool RearrangesDataset = true
static

Definition at line 195 of file traits.hpp.

◆ UniqueNumDescendants

const bool UniqueNumDescendants = true
static

Definition at line 197 of file traits.hpp.


The documentation for this class was generated from the following file:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-3.2.1/src/mlpack/core/tree/binary_space_tree/traits.hpp