Abstract
We present efficient algorithms for the problems of matching red and blue disjoint geometric obstacles in the plane and connecting the matched obstacle pairs with mutually nonintersecting paths that have useful geometric properties. We first consider matching n red and n blue disjoint isothetic rectangles and connecting the n matched rectangle pairs with nonintersecting monotone rectilinear paths; each such path consists of O(n) segments and is not allowed to touch any rectangle other than the matched pair that it is linking. Based on a numbering scheme for certain geometric objects and on several useful geometric observations, we develop an O(n log n) time, O(n) space algorithm that produces a desired matching for isothetic rectangles. If an explicit printing of all the n paths is required, then our algorithm takes O(n log n+λ) time and O(n) space, where λ is the total size of the desired output. We then extend these matching algorithms to other classes of red/blue polygonal obstacles. The numbering scheme also finds applications to other problems.
This work was carried out in part at the Center for Applied Science and Engineering and Institute of Information Science. Academia Sinica, Nankang, Taiwan, during its 1996 Summer Institute on Computational Geometry and Applications.
This author gratefully acknowledges support from the National Science Foundation under Grant DCR-9202807, and the COAST Project at Purdue University and its sponsors, in particular Hewlett Packard.
The research of this author was supported in part by the National Science Foundation under Grant CCR-9623585.
Preview
Unable to display preview. Download preview PDF.
References
A. V. Aho, J. E. Hopcroft, and J. D. Ullman, The Design and Analysis of Computer Algorithms, Addison-Wesley, Reading, Mass., 1974.
M. G. Andrews, M. J. Atallah, D. Z. Chen, and D. T. Lee, “Parallel algorithms for maximum matching in interval graphs”, Proc. 9th IEEE International Parallel Processing Symp., 1995, pp. 84–92.
M. J. Atallah, “A matching problem in the plane”, J. of Computer and Systems Sciences, 31 (1985), pp. 63–70.
M. J. Atallah and D. Z. Chen, “Parallel rectilinear shortest paths with rectangular obstacles”, Computational Geometry: Theory and Applications, 1 (1991), pp. 79–113.
M. J. Atallah and D. Z. Chen, “On parallel rectilinear obstacle-avoiding paths”, Computational Geometry: Theory and Applications, 3 (1993), pp. 307–313.
M. J. Atallah, R. Cole, and M. T. Goodrich, “Cascading divide-and-conquer: A technique for designing parallel algorithms”, SIAM J. Computing, 18 (1989), pp. 499–532.
M. J. Atallah, S. E. Hambrusch, and L. E. TeWinkel, “Parallel topological sorting of features in a binary image”, Algorithmica, 6 (1991), pp. 762–769.
M. Ben-Or, “Lower bounds for algebraic computation trees”, Proc. 15th Annual ACM Symp. on Theory of Computing, 1983, pp. 80–86.
D. Z. Chen, “Efficient geometric algorithms on the EREW PRAM”, IEEE Trans. on Parallel and Distributed Systems, 6 (1) (1995), pp. 41–47.
D. Z. Chen, G. Das, and M. Smid, “Lower bounds for computing geometric spanners and approximate shortest paths”, Proc. 8th Canadian Conf. on Computational Geometry, 1996, pp. 155–160.
D. Z. Chen and K. S. Klenk, “Rectilinear short path queries among rectangular obstacles”, Information Processing Letters, 57 (6) (1996), pp. 313–319.
D. Z. Chen, K. S. Klenk, sind H.-Y. T. Tu, “Shortest path queries among weighted obstacles in the rectilinear plane”, Proc. 11th Annual ACM Symp. Computational Geometry, 1995, pp. 370–379.
J. Choi and C.-K. Yap, “Rectilinear geodesics in 3-space”, Proc. 11th Annual ACM Symp. Computational Geometry, 1995, pp. 380–389.
K. L. Clarkson, S. Kapoor, and P. M. Vaidya, “Rectilinear shortest paths through polygonal obstacles in O(n(log n)2) time”, Proc. 3rd Annual ACM Symp. Computational Geometry, 1987, pp. 251–257.
K. L. Clarkson, S. Kapoor, and P. M. Vaidya, “Rectilinear shortest paths through polygonal obstacles in O(n log3/2 n) time”, manuscript.
W. Dai, T. Asano, and E. S. Kuh, “Routing region definition and ordering scheme for building-block layout”, IEEE Trans. on Computer-Aided Design, CAD-4 (3) (1985), pp. 189–197.
M. de Berg, M. van Kreveld, and B. J. Nilsson, “Shortest path queries in rectangular worlds of higher dimension”, Proc. 7th Annual Symp. Computational Geometry, 1991, pp. 51–59.
P. J. de Rezende, D. T. Lee, and Y. F. Wu, “Rectilinear shortest paths in the presence of rectangles barriers”, Discrete & Computational Geometry, 4 (1989), pp. 41–53.
H. ElGindy and P. Mitra, “Orthogonal shortest route queries among axes parallel rectangular obstacles”, International J. of Computational Geometry and Applications, 4 (1) (1994), pp. 3–24.
M. T. Goodrich, “Finding the convex hull of a sorted point set in parallel”, Information Processing Letters, 26 (1987/88), pp. 173–179.
M. Iwai, H. Suzuki, and T. Nishizeki, “Shortest path algorithm in the plane with rectilinear polygonal obstacles” (in Japanese), Proc. of SIGAL Workshop, July 1994.
J. JáJá, An Introduction to Parallel Algorithms, Addison-Wesley, Reading, MA, 1992.
S. K. Kim, “Optimal parallel algorithms on sorted intervals”, Proc. 27th Annual Allerton Conf. Communication, Control, and Computing, 1989, pp. 766–775.
R. C. Larson and V. O. Li, “Finding minimum rectilinear distance paths in the presence of barriers”, Networks, 11 (1981), pp. 285–304.
D. T. Lee, T. H. Chen, and C. D. Yang, “Shortest rectilinear paths among weighted obstacles”, International J. of Computational Geometry and Applications, 1 (2) (1991), pp. 109–124.
D. T. Lee, C. F. Shen, C. D. Yang, and C. K. Wong, “Non-crossing paths problems”, manuscript, Dept. of EECS, Northwestern University, 1991.
J. S. B. Mitchell, “An optimal algorithm for shortest rectilinear path among obstacles”, First Canadian Conf. on Computational Geometry, 1989.
J. S. B. Mitchell, “L 1 shortest paths among polygonal obstacles in the plane”, Algorithmica, 8 (1992), pp. 55–88.
P. Mitra and B. Bhattacharya, “Efficient approximation shortest-path queries among isothetic rectangular obstacles”, Proc. 3rd Workshop on Algorithms and Data Structures, 1993, pp. 518–529.
T. M. Nicholl, D. T. Lee, Y. Z. Liao, and C. K. Wong, “On the X-Y convex hull of a set of X-Y polygons”, BIT, 23 (4) (1983), pp. 456–471.
M. H. Overmars and J. van Leeuwen, “Maintenance of configurations in the plane”, J. of Computer and Systems Sciences, 23 (1981), pp. 166–204.
E. Papadopoulou, “k-Pairs non-crossing shortest paths in a simple polygon”, to appear in the 7th Annual International Symp. on Algorithms and Computation, 1996, Osaka, Japan.
F. P. Preparata and M. I. Shamos, Computational Geometry: An Introduction, Springer-Verlag, New York, 1985.
F. P. Preparata and K. J. Supowit, “Testing a simple polygon for monotonicity”, Information Processing Letters, 12 (1981), pp. 161–164.
J. Takahashi, H. Suzuki, and T. Nishizeki, “Algorithms for finding non-crossing paths with minimum total length in plane graphs”, Proc. 3rd Annual International Symp. on Algorithms and Computation, 1992, pp. 400–409.
J. Takahashi, H. Suzuki, and T. Nishizeki, “Finding shortest non-crossing rectilinear paths in plane regions”, Proc. 4th Annual International Symp. on Algorithms and Computation, 1993, pp. 98–107.
R. E. Tarjan and U. Vishkin, “Finding biconnected components and computing tree functions in logarithmic parallel time”, SIAM J. Computing, 14 (1985), pp. 862–874.
P. Widmayer, Y. F. Wu, and C. K. Wong, “On some distance problems in fixed orientations”, SIAM J. Computing, 16 (4) (1987), pp. 728–746.
Y. F. Wu, P. Widmayer, M. D. F. Schlag, and C. K. Wong, “Rectilinear shortest paths and minimum spanning trees in the presence of rectilinear obstacles”, IEEE Trans. on Computers, C-36 (1987), pp. 321–331.
C. D. Yang, T. H. Chen, and D. T. Lee, “Shortest rectilinear paths among weighted rectangles”, Journal of Information Processing, 13 (4) (1990), pp. 456–462.
C. D. Yang, D. T. Lee, and C. K. Wong, “Rectilinear path problems among rectilinear obstacles revisited”, SIAM J. Computing, 24 (3) (1995), pp. 457–472.
A. C.-C. Yao, “Lower bounds for algebraic computation trees with integer inputs”, SIAM J. Computing, 20 (1991), pp. 655–668.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1996 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Atallah, M.J., Chen, D.Z. (1996). Applications of a numbering scheme for polygonal obstacles in the plane. In: Asano, T., Igarashi, Y., Nagamochi, H., Miyano, S., Suri, S. (eds) Algorithms and Computation. ISAAC 1996. Lecture Notes in Computer Science, vol 1178. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0009476
Download citation
DOI: https://doi.org/10.1007/BFb0009476
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-62048-8
Online ISBN: 978-3-540-49633-5
eBook Packages: Springer Book Archive