MLPACK  1.0.7
Static Public Attributes | List of all members
mlpack::tree::TreeTraits< BinarySpaceTree< BoundType, StatisticType, MatType > > Class Template Reference

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

Static Public Attributes

static const bool FirstPointIsCentroid = false
 There is no guarantee that the first point in a node is its centroid. More...
 
static const bool HasOverlappingChildren = false
 Each binary space tree node has two children which represent non-overlapping subsets of the space which the node represents. More...
 
static const bool HasParentDistance = false
 The binary space tree cannot easily calculate the distance from a node to its parent; so BinarySpaceTree<...>::ParentDistance() does not exist. More...
 
static const bool HasSelfChildren = false
 Points are not contained at multiple levels of the binary space tree. More...
 

Detailed Description

template<typename BoundType, typename StatisticType, typename MatType>
class mlpack::tree::TreeTraits< BinarySpaceTree< BoundType, StatisticType, MatType > >

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

It defines characteristics of the binary space tree, 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 39 of file traits.hpp.

Member Data Documentation

template<typename BoundType , typename StatisticType , typename MatType >
const bool mlpack::tree::TreeTraits< BinarySpaceTree< BoundType, StatisticType, MatType > >::FirstPointIsCentroid = false
static

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

Definition at line 58 of file traits.hpp.

template<typename BoundType , typename StatisticType , typename MatType >
const bool mlpack::tree::TreeTraits< BinarySpaceTree< BoundType, StatisticType, MatType > >::HasOverlappingChildren = false
static

Each binary space tree node has two children which represent non-overlapping subsets of the space which the node represents.

Therefore, children are not overlapping.

Definition at line 53 of file traits.hpp.

template<typename BoundType , typename StatisticType , typename MatType >
const bool mlpack::tree::TreeTraits< BinarySpaceTree< BoundType, StatisticType, MatType > >::HasParentDistance = false
static

The binary space tree cannot easily calculate the distance from a node to its parent; so BinarySpaceTree<...>::ParentDistance() does not exist.

Definition at line 46 of file traits.hpp.

template<typename BoundType , typename StatisticType , typename MatType >
const bool mlpack::tree::TreeTraits< BinarySpaceTree< BoundType, StatisticType, MatType > >::HasSelfChildren = false
static

Points are not contained at multiple levels of the binary space tree.

Definition at line 63 of file traits.hpp.


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