ProxKeyComparator< Metric, ProxComp > Class Template Reference

#include <Comparator.h>

Inheritance diagram for ProxKeyComparator< Metric, ProxComp >:
AbstractProxKeyComparator

List of all members.

Public Member Functions

 ProxKeyComparator (const OverlayKey &relativeKey)
 constructor

Protected Attributes

Metric m
 indicates which metric to use for the key comparison
ProxComp pc
OverlayKey key
 the relative key to which distances are compared

Detailed Description

template<class Metric, class ProxComp = StdProxComparator>
class ProxKeyComparator< Metric, ProxComp >

Definition at line 303 of file Comparator.h.


Constructor & Destructor Documentation

template<class Metric, class ProxComp = StdProxComparator>
ProxKeyComparator< Metric, ProxComp >::ProxKeyComparator ( const OverlayKey relativeKey  )  [inline]

constructor

Definition at line 314 of file Comparator.h.

00315     {
00316         this->key = relativeKey;
00317     }


Member Data Documentation

template<class Metric, class ProxComp = StdProxComparator>
OverlayKey ProxKeyComparator< Metric, ProxComp >::key [protected]

the relative key to which distances are compared

Definition at line 308 of file Comparator.h.

Referenced by ProxKeyComparator< KeyPrefixMetric >::ProxKeyComparator(), and ProxKeyComparator< Metric, ProxComp >::ProxKeyComparator().

template<class Metric, class ProxComp = StdProxComparator>
Metric ProxKeyComparator< Metric, ProxComp >::m [protected]

indicates which metric to use for the key comparison

Definition at line 306 of file Comparator.h.

Referenced by ProxKeyComparator< KeyPrefixMetric >::ProxKeyComparator().

template<class Metric, class ProxComp = StdProxComparator>
ProxComp ProxKeyComparator< Metric, ProxComp >::pc [protected]

Definition at line 307 of file Comparator.h.


The documentation for this class was generated from the following file:
Generated on Wed May 26 16:21:18 2010 for OverSim by  doxygen 1.6.3