de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.query
Class DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.query.DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry
All Implemented Interfaces:
Comparable<DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry>
Enclosing class:
DoubleDistanceRStarTreeKNNQuery<O extends SpatialComparable>

 class DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry
extends Object
implements Comparable<DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry>

Optimized double distance entry implementation.


Field Summary
(package private)  double distance
          Distance value
(package private)  SpatialEntry entry
          Referenced entry
 
Constructor Summary
DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry(SpatialEntry entry, double distance)
          Constructor.
 
Method Summary
 int compareTo(DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entry

SpatialEntry entry
Referenced entry


distance

double distance
Distance value

Constructor Detail

DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry

public DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry(SpatialEntry entry,
                                                           double distance)
Constructor.

Parameters:
entry - Entry
distance - Distance
Method Detail

compareTo

public int compareTo(DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry o)
Specified by:
compareTo in interface Comparable<DoubleDistanceRStarTreeKNNQuery.DoubleDistanceEntry>

Release 0.4.0 (2011-09-20_1324)