Efe Karakus code»

Fixed-Radius Near Neighbor Algorithm

The fixed-radius near neighbor is a O(n + k) algorithm, where k is the number of pairs to get reported. Note that if k < n2 then this algorithm should perform better than the naive O(n2) approach.

Further Reading: