spatial position for distance metric
indexed value
The distance metric used by this neighborhood
The neighborhood's original radius (Eucledian metric)
The neighborhood's target position / centroid
Returns current nearest neighbor result tuple ([dist, val]
) or undefined, if no such result exists (yet).
Returns true, if distance d
is <= current radius of this neighborhood. If eucledian
is true (default: true), then d
will first be converted into the metric used by this neighborhood using IDistance.to, otherwise it is expected to be already in that metric space.
Generated using TypeDoc
A INeighborhood implementation for nearest neighbor queries around a given target location, initial query radius and IDistance metric to determine proximity.