L
- Label type.public interface SpatialIndex<L> extends AutoCloseable
k
closest element.Modifier and Type | Method and Description |
---|---|
default void |
close() |
List<LabeledVector<L>> |
findKClosest(int k,
Vector pnt)
Finds
k closest elements to the specified point. |
List<LabeledVector<L>> findKClosest(int k, Vector pnt)
k
closest elements to the specified point.k
- Number of elements to be returned.pnt
- Point to be used to calculate distance to other points.k
closest elements to the specified point.default void close()
close
in interface AutoCloseable
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024