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