mlpack  master
Public Member Functions | Public Attributes | List of all members
mlpack::tree::VantagePointSplit< BoundType, MatType, MaxNumSamples >::SplitInfo Struct Reference

A struct that contains an information about the split. More...

Public Member Functions

 SplitInfo ()
 
template<typename VecType >
 SplitInfo (const MetricType &metric, const VecType &vantagePoint, ElemType mu)
 

Public Attributes

const MetricTypemetric
 An instance of the MetricType class. More...
 
ElemType mu
 The median distance according to which the node will be split. More...
 
arma::Col< ElemTypevantagePoint
 The vantage point. More...
 

Detailed Description

template<typename BoundType, typename MatType = arma::mat, size_t MaxNumSamples = 100>
struct mlpack::tree::VantagePointSplit< BoundType, MatType, MaxNumSamples >::SplitInfo

A struct that contains an information about the split.

Definition at line 40 of file vantage_point_split.hpp.

Constructor & Destructor Documentation

template<typename BoundType , typename MatType = arma::mat, size_t MaxNumSamples = 100>
mlpack::tree::VantagePointSplit< BoundType, MatType, MaxNumSamples >::SplitInfo::SplitInfo ( )
inline

Definition at line 49 of file vantage_point_split.hpp.

template<typename BoundType , typename MatType = arma::mat, size_t MaxNumSamples = 100>
template<typename VecType >
mlpack::tree::VantagePointSplit< BoundType, MatType, MaxNumSamples >::SplitInfo::SplitInfo ( const MetricType metric,
const VecType &  vantagePoint,
ElemType  mu 
)
inline

Member Data Documentation

template<typename BoundType , typename MatType = arma::mat, size_t MaxNumSamples = 100>
const MetricType* mlpack::tree::VantagePointSplit< BoundType, MatType, MaxNumSamples >::SplitInfo::metric

An instance of the MetricType class.

Definition at line 47 of file vantage_point_split.hpp.

Referenced by mlpack::tree::VantagePointSplit< BoundType, MatType, MaxNumSamples >::AssignToLeftNode().

template<typename BoundType , typename MatType = arma::mat, size_t MaxNumSamples = 100>
ElemType mlpack::tree::VantagePointSplit< BoundType, MatType, MaxNumSamples >::SplitInfo::mu

The median distance according to which the node will be split.

Definition at line 45 of file vantage_point_split.hpp.

Referenced by mlpack::tree::VantagePointSplit< BoundType, MatType, MaxNumSamples >::AssignToLeftNode().

template<typename BoundType , typename MatType = arma::mat, size_t MaxNumSamples = 100>
arma::Col<ElemType> mlpack::tree::VantagePointSplit< BoundType, MatType, MaxNumSamples >::SplitInfo::vantagePoint

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