---
name: "mlpack_tree_CoverTree_DualTreeTraverser_DualCoverTreeMapEntry"
section: "3"
platform: "linux"
package: "mlpack-doc"
version: "1.0.10-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mlpack_tree_CoverTree_DualTreeTraverser_DualCoverTreeMapEntry"
---

# mlpack\_tree\_CoverTree\_DualTreeTraverser\_DualCoverTreeMapEntry(3)

Struct used for traversal.

## 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.
