Package org.tinspin.index.qthypercube2
Class QIteratorKnn<T>
- java.lang.Object
-
- org.tinspin.index.qthypercube2.QIteratorKnn<T>
-
- All Implemented Interfaces:
Iterator<PointEntryDist<T>>,QueryIteratorKNN<PointEntryDist<T>>
public class QIteratorKnn<T> extends Object implements QueryIteratorKNN<PointEntryDist<T>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubledistance()booleanhasNext()PointEntryDist<T>next()QueryIteratorKNN<PointEntryDist<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<PointEntryDist<T>> reset(double[] center, int minResults)
- Specified by:
resetin interfaceQueryIteratorKNN<T>
-
next
public PointEntryDist<T> next()
-
distance
public double distance()
-
-