public static class KNNHeap.Comp<D extends Distance<D>> extends Object implements Comparator<DistanceResultPair<D>>
Constructor and Description |
---|
KNNHeap.Comp() |
Modifier and Type | Method and Description |
---|---|
int |
compare(DistanceResultPair<D> o1,
DistanceResultPair<D> o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public int compare(DistanceResultPair<D> o1, DistanceResultPair<D> o2)
compare
in interface Comparator<DistanceResultPair<D extends Distance<D>>>