This Article 
 Bibliographic References 
 Add to: 
An Optimal Algorithm for the Angle-Restricted All Nearest Neighbor Problem on the Reconfigurable Mesh, with Applications
September 1997 (vol. 8 no. 9)
pp. 983-990

Abstract—Given a set S of n points in the plane and two directions $r_1$ and $r_2,$ the Angle-Restricted All Nearest Neighbor problem (ARANN, for short) asks to compute, for every point p in S, the nearest point in S lying in the planar region bounded by two rays in the directions $r_1$ and $r_2$ emanating from p. The ARANN problem generalizes the well-known ANN problem and finds applications to pattern recognition, image processing, and computational morphology. Our main contribution is to present an algorithm that solves an instance of size n of the ARANN problem in O(1) time on a reconfigurable mesh of size n×n. Our algorithm is optimal in the sense that $\Omega\;(n^2)$ processors are necessary to solve the ARANN problem in O(1) time. By using our ARANN algorithm, we can provide O(1) time solutions to the tasks of constructing the Geographic Neighborhood Graph and the Relative Neighborhood Graph of n points in the plane on a reconfigurable mesh of size n×n. We also show that, on a somewhat stronger reconfigurable mesh of size $n\times n^2,$ the Euclidean Minimum Spanning Tree of n points can be computed in O(1) time.

[1] Y. Ben-Asher,D. Peleg,R. Ramaswami,, and A. Schuster,“The power of reconfiguration,” J. of Parallel and Distributed Computing, vol. 13, no. 2, pp. 139-153, Oct. 1991.
[2] L.P. Chew and R.L. Drysdale, "Voronoi Diagrams Based on Convex Functions," Proc. First ACM Symp. Computational Geometry, pp. 235-244, 1985.
[3] R. Cole and M.T. Goodrich, "Optimal Parallel Algorithms for Point-Set and Polygon Problems," Algorithmica, vol. 7, pp. 3-23, 1992.
[4] R. Duda, P. Hart, and D. Stork, Pattern Classification. New York: John Wiley&Sons, 2001.
[5] J. Jang and V.K. Prasanna, "Parallel Geometric Problems on the Reconfigurable Mesh," Proc. Int'l Conf. Parallel Processing, vol. 3, pp. 127-130,St. Charles, Ill., 1992.
[6] J. Jang and V.K. Prasanna,“An optimal sorting algorithm on reconfigurable mesh,” Proc. Int’l Parallel Processing Symp., pp. 130-137, Mar. 1992.
[7] J. Katajainen and O. Nevalainen, "Computing Relative Neighborhood Graphs in the Plane," Pattern Recognition, vol. 19, pp. 221-228, 1986.
[8] H. Li and M. Maresca,“Polymorphic-torus network,” IEEE Trans. on Computers, vol. 38, no. 9, pp. 1345-1351, Sept. 1989.
[9] R. Lin and S. Olariu, "Reconfigurable Buses with Shift Switching: Concepts and Applications," IEEE Trans. Parallel and Distributed Systems, vol. 6, no. 1, pp. 93-102, Jan. 1995.
[10] R. Lin, S. Olariu, J. L. Schwing, and J. Zhang, "Sorting in O(1) Time on a Reconfigurable Mesh of Size N×N," Parallel Computing: From Theory to Sound Practice, Proc. EWPC '92, pp. 16-27, Plenary Address. Amsterdam: IOS Press, 1992.
[11] M. Maresca, "Polymorphic Processor Arrays," IEEE Trans. Parallel and Distributed Systems, vol. 4, pp. 490-506, 1993.
[12] M. Maresca and H. Li,“Connection autonomy in SIMD computers: a VLSI implementation,”J. Parallel Distribut. Comput., vol. 7, pp. 302–320, 1989.
[13] R. Miller,V.K. Prasanna Kumar,D.I. Reisis, and Q.F. Stout,“Parallel computations on reconfigurable meshes,” IEEE Trans. on Computers, pp. 678-692, June 1993.
[14] M. Nigam and S. Sahni, "Sorting n Numbers on n x n Reconfigurable Meshes With Buses," Proc. Int'l Parallel Processing Symp., pp. 174-181, 1993.
[15] S. Olariu, J.L. Schwing, and J. Zhang, "Fundamental Data Movement on Reconfigurable Meshes," Int'l J. High Speed Computing, vol. 6, pp. 311-323, 1994.
[16] S. Olariu, J.L. Schwing, and J. Zhang, "Fundamental Algorithms on Reconfigurable Meshes," Proc. 29th Ann. Allerton Conf. Comm., Control, and Computing, pp. 811-820, 1991.
[17] S. Olariu and I. Stojmenovic, "Time-Optimal Proximity Problems on Meshes with Multiple Broadcasting," J. Parallel and Distributed Computing, vol. 36, pp. 144-155, 1996.
[18] F.P. Preparata and M.I. Shamos, Computational Geometry. Springer-Verlag, 1985.
[19] J. Rothstein,“Bus Automata, Brains, and Mental Models,” IEEE Trans. on Systems, Man, and Cybernetics, vol. 18, no. 4, pp. 522-531, Apr. 1988.
[20] D.B. Shu and J.G. Nash, "The Gated Interconnection Network for Dynamic Programming," Concurrent Computations, S.K. Tewsburg et al., eds. Plenum Publishing, 1988.
[21] K.L. Supowit,“The relative neighborhood graph with an application to minimum spanning trees,” J. ACM, vol. 30, pp. 428-448, 1983.
[22] G.T. Toussaint, "The Relative Neighborhood Graph of a Finite Planar Set," Pattern Recognition, vol. 12, pp. 261-268, 1980.
[23] G.T. Toussaint, "The Symmetric All-Furthest Neighbor Problem," Computers and Mathematics with Applications, vol. 9, pp. 747-754, 1983.
[24] B. F. Wang and G. H. Chen,“Constant time algorithms for the transitive closure problem and some related graph problems on processor arrays with reconfigurable bus systems,” IEEE Trans. on Parallel and Distributed Systems, vol. 1, no. 4, pp. 500-507, 1991.
[25] C.C. Weems, S.P. Levitan, A.R. Hanson, E.M. Riseman, J.G. Nash, and D.B. Sheu, "The Image Understanding Architecture," Int'l J. Computer Vision, vol. 2, pp. 251-282, 1989.

Index Terms:
Reconfigurable mesh, lower bounds, proximity problems, ANN, ARANN, mobile computing.
Koji Nakano, Stephan Olariu, "An Optimal Algorithm for the Angle-Restricted All Nearest Neighbor Problem on the Reconfigurable Mesh, with Applications," IEEE Transactions on Parallel and Distributed Systems, vol. 8, no. 9, pp. 983-990, Sept. 1997, doi:10.1109/71.615443
Usage of this product signifies your acceptance of the Terms of Use.