Package org.tinspin.index.qthypercube
Class QRIteratorKnn<T>
- java.lang.Object
-
- org.tinspin.index.qthypercube.QRIteratorKnn<T>
-
- All Implemented Interfaces:
Iterator<RectangleEntryDist<T>>,QueryIteratorKNN<RectangleEntryDist<T>>
public class QRIteratorKnn<T> extends Object implements QueryIteratorKNN<RectangleEntryDist<T>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubledistance()booleanhasNext()RectangleEntryDist<T>next()QueryIteratorKNN<RectangleEntryDist<T>>reset(double[] center, int minResults)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Method Detail
-
reset
public QueryIteratorKNN<RectangleEntryDist<T>> reset(double[] center, int minResults)
- Specified by:
resetin interfaceQueryIteratorKNN<T>
-
next
public RectangleEntryDist<T> next()
-
distance
public double distance()
-
-