public interface INearestNeighborsSearch<T>
Modifier and Type | Method and Description |
---|---|
IDistanceFunction<T> |
getDistanceFunction() |
List<DistanceComparable<T>> |
getNearestNeighbors(T query,
int k) |
void |
setDistanceFunction(IDistanceFunction<T> distanceFunction) |
IDistanceFunction<T> getDistanceFunction()
void setDistanceFunction(IDistanceFunction<T> distanceFunction)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.