mlpack  2.0.1
Static Public Attributes | List of all members
mlpack::tree::TreeTraits< RectangleTree< MetricType, StatisticType, MatType, SplitType, DescentType > > Class Template Reference

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

Static Public Attributes

static const bool BinaryTree = false
 This tree is not necessarily a binary tree. More...
 
static const bool FirstPointIsCentroid = false
 There is no guarantee that the first point in a node is its centroid. More...
 
static const bool HasOverlappingChildren = true
 An R-tree can have overlapping children. More...
 
static const bool HasSelfChildren = false
 Points are not contained at multiple levels of the R-tree. More...
 
static const bool RearrangesDataset = false
 Points are rearranged during building of the tree. More...
 

Detailed Description

template<typename MetricType, typename StatisticType, typename MatType, typename SplitType, typename DescentType>
class mlpack::tree::TreeTraits< RectangleTree< MetricType, StatisticType, MatType, SplitType, DescentType > >

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

It defines characteristics of the rectangle type trees, and is used to help write tree-independent (but still optimized) tree-based algorithms. See mlpack/core/tree/tree_traits.hpp for more information.

Definition at line 33 of file traits.hpp.

Member Data Documentation

◆ BinaryTree

template<typename MetricType , typename StatisticType , typename MatType , typename SplitType , typename DescentType >
const bool mlpack::tree::TreeTraits< RectangleTree< MetricType, StatisticType, MatType, SplitType, DescentType > >::BinaryTree = false
static

This tree is not necessarily a binary tree.

Definition at line 61 of file traits.hpp.

◆ FirstPointIsCentroid

template<typename MetricType , typename StatisticType , typename MatType , typename SplitType , typename DescentType >
const bool mlpack::tree::TreeTraits< RectangleTree< MetricType, StatisticType, MatType, SplitType, DescentType > >::FirstPointIsCentroid = false
static

There is no guarantee that the first point in a node is its centroid.

Definition at line 44 of file traits.hpp.

◆ HasOverlappingChildren

template<typename MetricType , typename StatisticType , typename MatType , typename SplitType , typename DescentType >
const bool mlpack::tree::TreeTraits< RectangleTree< MetricType, StatisticType, MatType, SplitType, DescentType > >::HasOverlappingChildren = true
static

An R-tree can have overlapping children.

Definition at line 39 of file traits.hpp.

◆ HasSelfChildren

template<typename MetricType , typename StatisticType , typename MatType , typename SplitType , typename DescentType >
const bool mlpack::tree::TreeTraits< RectangleTree< MetricType, StatisticType, MatType, SplitType, DescentType > >::HasSelfChildren = false
static

Points are not contained at multiple levels of the R-tree.

Definition at line 49 of file traits.hpp.

◆ RearrangesDataset

template<typename MetricType , typename StatisticType , typename MatType , typename SplitType , typename DescentType >
const bool mlpack::tree::TreeTraits< RectangleTree< MetricType, StatisticType, MatType, SplitType, DescentType > >::RearrangesDataset = false
static

Points are rearranged during building of the tree.

THIS MAY NOT BE TRUE. IT'S HARD TO DYNAMICALLY INSERT POINTS AND REARRANGE THE MATRIX

Definition at line 56 of file traits.hpp.


The documentation for this class was generated from the following file: