Skip to main content

Optimal Covering and Hitting of Line Segments by Two Axis-Parallel Squares

  • Conference paper
  • First Online:
Computing and Combinatorics (COCOON 2017)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10392))

Included in the following conference series:

Abstract

This paper discusses the problem of covering and hitting a set of line segments \(\mathcal L\) in \(\mathbb {R}^2\) by a pair of axis-parallel squares such that the side length of the larger of the two squares is minimized. We also discuss the restricted version of covering, where each line segment in \(\mathcal L\) is to be covered completely by at least one square. The proposed algorithm for the covering problem reports the optimum result by executing only two passes of reading the input data sequentially. The algorithm proposed for the hitting and restricted covering problems produces optimum result in \(O(n\log n)\) time. All the proposed algorithms are in-place, and they use only O(1) extra space. The solution of these problems also give a \(\sqrt{2}\) approximation for covering and hitting those line segments \(\mathcal L\) by two congruent disks of minimum radius with same computational complexity.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    \(L_\infty \) distance between two points a and b is given by \(\max (|x(a)-x(b)|,|y(a)-y(b)|)\).

References

  1. Bhattacharya, B., Das, S., Kameda, T., Sinha Mahapatra, P.R., Song, Z.: Optimizing squares covering a set of points. In: Zhang, Z., Wu, L., Xu, W., Du, D.-Z. (eds.) COCOA 2014. LNCS, vol. 8881, pp. 37–52. Springer, Cham (2014). doi:10.1007/978-3-319-12691-3_4

    Google Scholar 

  2. Carlsson, S., Sundström, M.: Linear-time in-place selection in less than 3n comparisons. In: Staples, J., Eades, P., Katoh, N., Moffat, A. (eds.) ISAAC 1995. LNCS, vol. 1004, pp. 244–253. Springer, Heidelberg (1995). doi:10.1007/BFb0015429

    Chapter  Google Scholar 

  3. Chan, T.M.: More planar two-center algorithms. Comput. Geom. Theory Appl. 13(3), 189–198 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  4. Drezner, Z.: On the rectangular p-center problem. Naval Res. Log. 34(2), 229–234 (1987)

    Article  MathSciNet  MATH  Google Scholar 

  5. Eppstein, D.: Faster construction of planar two-centers. In: 8th ACM-SIAM Symposium On Discrete Algorithms (SODA), pp. 131–138 (1997)

    Google Scholar 

  6. Hershberger, J.: A fast algorithm for the two-Center decision Problem. Inf. Process. Lett. (Elsevier) 47(1), 23–29 (1993)

    Article  MATH  Google Scholar 

  7. Hoffmann, M.: A simple linear algorithm for computing rectilinear 3-centers. Comput. Geom. 31(3), 150–165 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  8. Jaromczyk, J.W., Kowaluk, M.: An efficient algorithm for the euclidean two-center problem. In: Mehlhorn, K. (ed.) Symposium on Computational Geometry, pp. 303–311. ACM (1994)

    Google Scholar 

  9. Katz, M.J., Kedem, K., Segal, M.: Discrete rectilinear 2-center problems. Comput. Geom. 15(4), 203–214 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  10. Kim, S.S., Bae, S.W., Ahn, H.K.: Covering a point set by two disjoint rectangles. Int. J. Comput. Geometry Appl. 21(3), 313–330 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  11. Kim, S.K., Shin, C.-S.: Efficient algorithms for two-center problems for a convex polygon. In: Du, D.-Z.-Z., Eades, P., Estivill-Castro, V., Lin, X., Sharma, A. (eds.) COCOON 2000. LNCS, vol. 1858, pp. 299–309. Springer, Heidelberg (2000). doi:10.1007/3-540-44968-X_30

    Chapter  Google Scholar 

  12. Marchetti-Spaccamela, A.: The p center problem in the plane is NP complete. In: Proceedings of the 19th Allerton Conference on Communication, Control and Computing, pp. 31–40 (1981)

    Google Scholar 

  13. Sharir, M.: A near-linear algorithm for the planar 2-center problem. Discrete Comput. Geom. 18(2), 125–134 (1997)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sanjib Sadhu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Sadhu, S., Roy, S., Nandy, S.C., Roy, S. (2017). Optimal Covering and Hitting of Line Segments by Two Axis-Parallel Squares. In: Cao, Y., Chen, J. (eds) Computing and Combinatorics. COCOON 2017. Lecture Notes in Computer Science(), vol 10392. Springer, Cham. https://doi.org/10.1007/978-3-319-62389-4_38

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-62389-4_38

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-62388-7

  • Online ISBN: 978-3-319-62389-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics