|
OverSim
|
#include <Comparator.h>
Public Member Functions | |
| ProxKeyComparator (const OverlayKey &relativeKey) | |
| constructor | |
Public Member Functions inherited from AbstractProxKeyComparator | |
| virtual | ~AbstractProxKeyComparator () |
| virtual int | compare (const ProxKey &lhs, const ProxKey &rhs) const =0 |
| indicates which of the two given prox/key-pairs is closer to the relative key | |
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 | |
Definition at line 324 of file Comparator.h.
|
inline |
|
protected |
the relative key to which distances are compared
Definition at line 329 of file Comparator.h.
Referenced by ProxKeyComparator< Metric, ProxComp >::ProxKeyComparator(), and ProxKeyComparator< KeyPrefixMetric >::ProxKeyComparator().
|
protected |
indicates which metric to use for the key comparison
Definition at line 327 of file Comparator.h.
Referenced by ProxKeyComparator< KeyPrefixMetric >::ProxKeyComparator().
|
protected |
Definition at line 328 of file Comparator.h.