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