mlpack  master
Public Member Functions | Public Attributes | List of all members
mlpack::tree::CoverTree< MetricType, StatisticType, MatType, RootPointPolicy >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry Struct Reference

Struct used for traversal. More...

Public Member Functions

bool operator< (const DualCoverTreeMapEntry &other) const
 Comparison operator, for sorting within the map. More...
 

Public Attributes

double baseCase
 The base case. More...
 
CoverTree< MetricType, StatisticType, MatType, RootPointPolicy > * referenceNode
 The node this entry refers to. More...
 
double score
 The score of the node. More...
 
RuleType::TraversalInfoType traversalInfo
 The traversal info associated with the call to Score() for this entry. More...
 

Detailed Description

template<typename MetricType = metric::LMetric<2, true>, typename StatisticType = EmptyStatistic, typename MatType = arma::mat, typename RootPointPolicy = FirstPointIsRoot>
template<typename RuleType>
struct mlpack::tree::CoverTree< MetricType, StatisticType, MatType, RootPointPolicy >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry

Struct used for traversal.

Definition at line 64 of file dual_tree_traverser.hpp.

Member Function Documentation

template<typename MetricType = metric::LMetric<2, true>, typename StatisticType = EmptyStatistic, typename MatType = arma::mat, typename RootPointPolicy = FirstPointIsRoot>
template<typename RuleType >
bool mlpack::tree::CoverTree< MetricType, StatisticType, MatType, RootPointPolicy >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::operator< ( const DualCoverTreeMapEntry other) const
inline

Member Data Documentation

template<typename MetricType = metric::LMetric<2, true>, typename StatisticType = EmptyStatistic, typename MatType = arma::mat, typename RootPointPolicy = FirstPointIsRoot>
template<typename RuleType >
double mlpack::tree::CoverTree< MetricType, StatisticType, MatType, RootPointPolicy >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::baseCase
template<typename MetricType = metric::LMetric<2, true>, typename StatisticType = EmptyStatistic, typename MatType = arma::mat, typename RootPointPolicy = FirstPointIsRoot>
template<typename RuleType >
CoverTree<MetricType, StatisticType, MatType, RootPointPolicy>* mlpack::tree::CoverTree< MetricType, StatisticType, MatType, RootPointPolicy >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::referenceNode

The node this entry refers to.

Definition at line 68 of file dual_tree_traverser.hpp.

template<typename MetricType = metric::LMetric<2, true>, typename StatisticType = EmptyStatistic, typename MatType = arma::mat, typename RootPointPolicy = FirstPointIsRoot>
template<typename RuleType >
double mlpack::tree::CoverTree< MetricType, StatisticType, MatType, RootPointPolicy >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::score
template<typename MetricType = metric::LMetric<2, true>, typename StatisticType = EmptyStatistic, typename MatType = arma::mat, typename RootPointPolicy = FirstPointIsRoot>
template<typename RuleType >
RuleType::TraversalInfoType mlpack::tree::CoverTree< MetricType, StatisticType, MatType, RootPointPolicy >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::traversalInfo

The traversal info associated with the call to Score() for this entry.

Definition at line 74 of file dual_tree_traverser.hpp.


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