de.lmu.ifi.dbs.elki.utilities.datastructures.heap
Class KNNHeap.Comp<D extends Distance<D>>
java.lang.Object
de.lmu.ifi.dbs.elki.utilities.datastructures.heap.KNNHeap.Comp<D>
- All Implemented Interfaces:
- Comparator<DistanceResultPair<D>>
- Enclosing class:
- KNNHeap<D extends Distance<D>>
public static class KNNHeap.Comp<D extends Distance<D>>
- extends Object
- implements Comparator<DistanceResultPair<D>>
Comparator to use.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KNNHeap.Comp
public KNNHeap.Comp()
compare
public int compare(DistanceResultPair<D> o1,
DistanceResultPair<D> o2)
- Specified by:
compare
in interface Comparator<DistanceResultPair<D extends Distance<D>>>