T - public class RTreeQueryKnn<T> extends Object implements QueryIteratorKNN<RectangleEntryDist<T>>
| Constructor and Description |
|---|
RTreeQueryKnn(RTree<T> tree,
double[] center,
int k,
DistanceFunction dist) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
DistEntry<T> |
next() |
void |
reset(double[] center,
int k) |
void |
reset(double[] center,
int k,
DistanceFunction dist) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic RTreeQueryKnn(RTree<T> tree, double[] center, int k, DistanceFunction dist)
public void reset(double[] center,
int k)
reset in interface QueryIteratorKNN<RectangleEntryDist<T>>public void reset(double[] center,
int k,
DistanceFunction dist)
public boolean hasNext()
hasNext in interface Iterator<RectangleEntryDist<T>>Copyright © 2017. All rights reserved.