Given a set S of n points in R/sup D/, D/spl ges/2. Each point p/spl isin/S is assigned a color c(p) chosen from a fixed color set. The All-Nearest-Foreign-Neighbors Problem (ANFNP) is to find for each point p/spl isin/S its nearest foreign neighbors, i.e. the set of all points in S/{p} that are closest to p among the points in S with a color different from c(p). We introduce the Well Separated Color Decomposition (WSCD) which gives an optimal O(log n) parallel algorithm to solve the AMFNP, for fixed dimension D/spl ges/2 and fixed L/sup t/-metric d/sub t/, 1/spl les/t/spl les//spl infin/. The WSCD is based upon the Well Separated Pair Decomposition (Callahan et al., 1992). The ANFNP finds extensive applications in VLSI design and verification for two dimensions, and in traffic-control systems and Geographic Information Systems for D>2 dimensions. To the best of our knowledge, this is the only known optimal parallel algorithm for the ANFNP.
['Thomas Graf', 'V. Kamakoti', 'N. S. Janaki Latha', 'C. Pandu Rangan']
An optimal parallel algorithm for the all-nearest-foreign-neighbors problem in arbitrary dimensions