private static class RStarTreeKNNQuery.DoubleDistanceEntry extends java.lang.Object implements java.lang.Comparable<RStarTreeKNNQuery.DoubleDistanceEntry>
Modifier and Type | Field and Description |
---|---|
(package private) double |
distance
Distance value
|
(package private) SpatialEntry |
entry
Referenced entry
|
Constructor and Description |
---|
DoubleDistanceEntry(SpatialEntry entry,
double distance)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(RStarTreeKNNQuery.DoubleDistanceEntry o) |
SpatialEntry entry
double distance
public DoubleDistanceEntry(SpatialEntry entry, double distance)
entry
- Entrydistance
- Distancepublic int compareTo(RStarTreeKNNQuery.DoubleDistanceEntry o)
compareTo
in interface java.lang.Comparable<RStarTreeKNNQuery.DoubleDistanceEntry>
Copyright © 2019 ELKI Development Team. License information.