Abstract
Let P andQ be two convex,n-vertex polygons. We consider the problem of computing, in parallel, some functions ofP andQ whenP andQ are disjoint. The model of parallel computation we consider is the CREW-PRAM, i.e., it is the synchronous shared-memory model where concurrent reads are allowed but no two processors can simultaneously attempt to write in the same memory location (even if they are trying to write the same thing). We show that a CREW-PRAM havingn 1/k processors can compute the following functions in O(k1+ɛ) time: (i) the common tangents betweenP andQ, and (ii) the distance betweenP andQ (and hence a straight line separating them). The positive constant ɛ can be made arbitrarily close to zero. Even with a linear number of processors, it was not previously known how to achieve constant time performance for computing these functions. The algorithm for problem (ii) is easily modified to detect the case of zero distance as well.
Similar content being viewed by others
References
A. Aggarwal, B. Chazelle, L. Guibas, C. Ó'Dúnlaing and C. Yap, Parallel Computational Geometry,Proceedings of the 26th Annual IEEE Symposium on Foundations of Computer Science, October 1985, pp. 468–477.
M. J. Atallah and M. T. Goodrich, Efficient Parallel Solutions to Some Geometric Problems,Journal of Parallel and Distributed Computing, Vol. 3, 1986, pp. 492–507.
A. Chow, Parallel Algorithms for Geometric Problems, Ph.D. dissertation, Computer Science Department, University of Illinois at Urbana-Champaign, 1980.
H. Edelsbrunner, Computing the Extreme Distances Between Two Convex Polygons,Journal of Algorithms, Vol. 6, 1985, pp. 213–224.
M. H. Overmars and J. Van Leeuwen, Maintenance of Configurations in the Plane,Journal of Computer and Systems Sciences, Vol. 23, 1981, pp. 166–204.
F. P. Preparata and S. J. Hong, Convex Hulls of Finite Sets of Points in Two and Three Dimensions,Communications of the Association for Computing Machinery, Vol. 20, No. 2, 1977, pp. 87–93.
F. P. Preparata and M. I. Shamos,Computational Geometry, An Introduction, Springer-Verlag, New York, 1985.
B. M. Chazelle and D. P. Dobkin, Detection is Easier than Computation,Proceedings of the 12th ACM Annual Symposium on Theory of Computing, 1980, pp. 146–153.
S. Cook and C. Dwork, Bounds on the Time for Parallel RAM's to Compute Simple Functions,Proceedings of the 14th ACM Annual Symposium on Theory of Computing, 1982, pp. 231–233.
Author information
Authors and Affiliations
Additional information
Communicated by Bernard Chazelle.
This research was supported by the Office of Naval Research under Grants N00014-84-K-0502 and N00014-86-K-0689, and the National Science Foundation under Grant DCR-8451393, with matching funds from AT&T.
Rights and permissions
About this article
Cite this article
Atallah, M.J., Goodrich, M.T. Parallel algorithms for some functions of two convex polygons. Algorithmica 3, 535–548 (1988). https://doi.org/10.1007/BF01762130
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01762130