NAME
mlpack::tree::CoverTree< MetricType, RootPointPolicy, StatisticType >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry -
Struct used for traversal.
SYNOPSIS
Public Member Functions
bool operator< (const DualCoverTreeMapEntry &other) const
Comparison operator, for sorting within the map.
Public Attributes
double baseCase
The base case. CoverTree< MetricType,
RootPointPolicy, StatisticType > * referenceNode"
The node this entry refers to. double score
The score of the node. RuleType::TraversalInfoType traversalInfo
The traversal info associated with the call to Score() for this entry.
Detailed Description
template<typename MetricType = metric::LMetric<2, true>, typename RootPointPolicy = FirstPointIsRoot, typename StatisticType = EmptyStatistic>template<typename RuleType>struct mlpack::tree::CoverTree< MetricType, RootPointPolicy, StatisticType >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry
Struct used for traversal.
Definition at line 68 of file dual_tree_traverser.hpp.
Member Function Documentation
template<typename MetricType = metric::LMetric<2, true>, typename RootPointPolicy = FirstPointIsRoot, typename StatisticType = EmptyStatistic> template<typename RuleType > bool mlpack::tree::CoverTree< MetricType, RootPointPolicy, StatisticType >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::operator< (const DualCoverTreeMapEntry &other) const [inline]
Comparison operator, for sorting within the map.
Definition at line 80 of file dual_tree_traverser.hpp.
References mlpack::tree::CoverTree< MetricType, RootPointPolicy, StatisticType >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::baseCase, and mlpack::tree::CoverTree< MetricType, RootPointPolicy, StatisticType >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::score.
Member Data Documentation
template<typename MetricType = metric::LMetric<2, true>, typename RootPointPolicy = FirstPointIsRoot, typename StatisticType = EmptyStatistic> template<typename RuleType > double mlpack::tree::CoverTree< MetricType, RootPointPolicy, StatisticType >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::baseCase
The base case.
Definition at line 75 of file dual_tree_traverser.hpp.
Referenced by mlpack::tree::CoverTree< MetricType, RootPointPolicy, StatisticType >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::operator<().
template<typename MetricType = metric::LMetric<2, true>, typename RootPointPolicy = FirstPointIsRoot, typename StatisticType = EmptyStatistic> template<typename RuleType > CoverTree<MetricType, RootPointPolicy, StatisticType>* mlpack::tree::CoverTree< MetricType, RootPointPolicy, StatisticType >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::referenceNode
The node this entry refers to.
Definition at line 71 of file dual_tree_traverser.hpp.
template<typename MetricType = metric::LMetric<2, true>, typename RootPointPolicy = FirstPointIsRoot, typename StatisticType = EmptyStatistic> template<typename RuleType > double mlpack::tree::CoverTree< MetricType, RootPointPolicy, StatisticType >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::score
The score of the node.
Definition at line 73 of file dual_tree_traverser.hpp.
Referenced by mlpack::tree::CoverTree< MetricType, RootPointPolicy, StatisticType >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::operator<().
template<typename MetricType = metric::LMetric<2, true>, typename RootPointPolicy = FirstPointIsRoot, typename StatisticType = EmptyStatistic> template<typename RuleType > RuleType::TraversalInfoType mlpack::tree::CoverTree< MetricType, RootPointPolicy, StatisticType >::DualTreeTraverser< RuleType >::DualCoverTreeMapEntry::traversalInfo
The traversal info associated with the call to Score() for this entry.
Definition at line 77 of file dual_tree_traverser.hpp.
Author
Generated automatically by Doxygen for MLPACK from the source code.