The distance metric used by this neighborhood
The neighborhood's original radius (Eucledian metric)
The neighborhood's target position / centroid
Computes distance metric between
pos and this neighborhood's target pos. If result distance is <= current radius, adds
val to neighborhood and shrinks neighborhood radius to new distance. Returns distance metric.
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