OverSim
|
OverlayKey Ring Metric. More...
#include <Comparator.h>
Static Public Member Functions | |
static OverlayKey | distance (const OverlayKey &x, const OverlayKey &y) |
calculates the distance from x to y on a bidirectional ring |
OverlayKey Ring Metric.
Definition at line 111 of file Comparator.h.
|
inlinestatic |
calculates the distance from x to y on a bidirectional ring
x | origination key |
y | destination key |
Definition at line 121 of file Comparator.h.
Referenced by BasePastry::distance(), PastryLeafSet::estimateMeanDistance(), and OverlayKey::test().