OverSim
|
#include <Comparator.h>
Public Member Functions | |
int | compare (const Prox &lhs, const Prox &rhs) const |
indicates which of the two given proximities is "better" | |
Public Member Functions inherited from AbstractProxComparator | |
virtual | ~AbstractProxComparator () |
Definition at line 292 of file Comparator.h.
indicates which of the two given proximities is "better"
lhs | first proximity value |
rhs | second proximity value |
Implements AbstractProxComparator.
Definition at line 295 of file Comparator.h.
Referenced by KademliaPRComparator::compare(), and AccordionPRComparator::compare().