Given points in the plane, there are pairs of points — and naively computing or storing all their distances costs quadratic time and space. For large that is simply too expensive.
Well-Separated Pair Decomposition (WSPD), introduced by Paul Callahan and S. Rao Kosaraju in 1995, offers a remarkable shortcut. It finds a collection of pairs of point sets such that:
- Every pair of individual points is represented by at least one pair with and .
- Each pair is well-separated: the distance between the two clusters is at least times the diameter of either cluster, for a user-chosen separation factor .
Because the clusters in a well-separated pair are far apart relative to their own sizes, every point in is roughly the same distance from every point in — so one representative distance stands in for all individual distances. This is the core geometric insight: spatial proximity structure lets you collapse a quadratic table into a linear one.
The construction runs in time using a split tree (a compressed quadtree), and the number of pairs is in dimensions — linear for any fixed and .
Comments
Loading comments...