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

◆ SplitInfo() [1/2]

SplitInfo ( )
inline

Definition at line 49 of file vantage_point_split.hpp.

◆ SplitInfo() [2/2]

SplitInfo ( const MetricType metric,
const VecType &  vantagePoint,
ElemType  mu 
)
inline

Member Data Documentation

◆ metric

const MetricType* metric

An instance of the MetricType class.

Definition at line 47 of file vantage_point_split.hpp.

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

◆ mu

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

Definition at line 45 of file vantage_point_split.hpp.

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

◆ vantagePoint

arma::Col<ElemType> vantagePoint

The vantage point.

Definition at line 43 of file vantage_point_split.hpp.

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


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