Rectilinear Path Problems in Restricted Memory Setup

  • Conference paper
Algorithms and Discrete Applied Mathematics (CALDAM 2015)

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

Included in the following conference series:

Abstract

We study the rectilinear path problem in the presence of disjoint axis parallel rectangular obstacles in the in-place and read-only setup. The input to the problem is a set \(\cal R\) of n axis-parallel rectangular obstacles in \(I\!\!R^2\). We need to preprocess the members in \(\cal R\) such that the following query can be answered efficiently.

Path-Query(p,q): Given a pair of points p and q, report an axis-parallel path from p to q avoiding the obstacles in \(\cal R\).

In the read-only setup, we consider a restricted version of the Path-Query(p,q) problem, where the objective is to check the existence of an xy-monotone path between the given pair of points p and q avoiding the obstacles, and report it if such a path exists. Given O(s) extra space, the problem can be solved in \(O(\frac{n^2}{s}+n\log s+ M_s\log n)\) time, where M s is the time complexity for computing the median of n elements in read-only setup using O(s) extra space.

In the in-place setup, we preprocess the input rectangles in a data structure such that for any pair of query points p and q, the problem Path-Query(p,q) can be solved efficiently. The time complexities for the preprocessing and query are O(nlogn) and O(n 3/4 + χ) respectively, where χ is the number of links (bends) in the path. The extra space requirement for both preprocessing and query answering are O(1). We also show that among a set of unit square obstacles, there always exists a path of O(logn) links between a pair of query points. Here, we use a different in-place data structure with same preprocessing time complexity to answer the query in O(logn) time.

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

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
EUR 29.95
Price includes VAT (France)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
EUR 42.79
Price includes VAT (France)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
EUR 52.74
Price includes VAT (France)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Asano, T., Buchin, K., Buchin, M., Korman, M., Mulzer, W., Rote, G., Schulz, A.: Memory-constrained algorithms for simple polygons. Comput. Geom. 46(8), 959–969 (2013)

    Article  MATH  MathSciNet  Google Scholar 

  2. Asano, T., Doerr, B.: Memory-constrained algorithms for shortest path problem. In: Proc. CCCG (2011)

    Google Scholar 

  3. Asano, T., Mulzer, W., Rote, G., Wang, Y.: Constant-work-space algorithms for geometric problems. JoCG 2(1), 46–68 (2011)

    MathSciNet  Google Scholar 

  4. Barba, L., Korman, M., Langerman, S., Sadakane, K., Silveira, R.I.: Space-time trade-offs for stack-based algorithms. In: STACS (2013)

    Google Scholar 

  5. Bint, G., Maheshwari, A., Smid, M.H.M.: xy-Monotone path existence queries in a rectilinear environment. In: Proc. CCCG, pp. 35-40 (2012)

    Google Scholar 

  6. Bose, P., Maheshwari, A., Morin, P., Morrison, J., Smid, M.H.M., Vahrenhold, J.: Space efficient geometric divide-and-conquer algorithms. Comput. Geom. 37(3), 209–227 (2007)

    Article  MATH  MathSciNet  Google Scholar 

  7. Brönnimann, H., Chan, T.M., Chen, E.Y.: Towards in-place geometric algorithms and data structures. In: Proc. Symp. on Comput. Geom., pp. 239-246 (2004)

    Google Scholar 

  8. Chan, T.M.: Comparison-based time-space lower bounds for selection. ACM Transactions on Algorithms 6(2) (2010)

    Google Scholar 

  9. Chan, T.M., Ian Munro, J., Raman, V.: Faster, space-efficient selection algorithms in read-only memory for integers. In: Cai, L., Cheng, S.-W., Lam, T.-W. (eds.) ISAAC 2013. LNCS, vol. 8283, pp. 405–412. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  10. De, M., Maheshwari, A., Nandy, S.C., Smid, M.H.M.: An in-place min-max priority search tree. Comput. Geom. 46(3), 310–327 (2013)

    Article  MATH  MathSciNet  Google Scholar 

  11. Elmasry, A., Juhl, D.D., Katajainen, J., Satti, S.R.: Selection from read-only memory with limited workspace. In: Du, D.-Z., Zhang, G. (eds.) COCOON 2013. LNCS, vol. 7936, pp. 147–157. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  12. Frederickson, G.: Upper bounds for time-space tradeoffs in sorting and selection. Journal of Computer and System Sciences 34(1), 19–26 (1987)

    Article  MATH  MathSciNet  Google Scholar 

  13. Goldreich, O.: Computational Complexity: A Computational Perspective, p. 182. Cambridge University Press (2008)

    Google Scholar 

  14. Munro, J.I., Paterson, M.: Selection and sorting with limited storage. Theoretical Computer Science 12, 315–323 (1980)

    Article  MATH  MathSciNet  Google Scholar 

  15. Munro, J.I., Raman, V.: Selection from read-only memory and sorting with minimum data movement. Theor. Comput. Sci. 165(2), 311–323 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  16. McCreight, E.M.: Priority search trees. SIAM J. Comput. 14, 257–276 (1985)

    Article  MATH  MathSciNet  Google Scholar 

  17. de Rezende, P.J., Lee, D.T., Wu, Y.F.: Rectilinear shortest paths in the presence of rectangular barriers. Discrete Computational Geometry 4, 41–53 (1989)

    Article  MATH  MathSciNet  Google Scholar 

  18. Raman, V., Ramnath, S.: Improved upper bounds for time-space tradeoffs for selection with limited storage. In: Arnborg, S. (ed.) SWAT 1998. LNCS, vol. 1432, pp. 131–142. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Bhattacharya, B.K., De, M., Maheswari, A., Nandy, S.C., Roy, S. (2015). Rectilinear Path Problems in Restricted Memory Setup. In: Ganguly, S., Krishnamurti, R. (eds) Algorithms and Discrete Applied Mathematics. CALDAM 2015. Lecture Notes in Computer Science, vol 8959. Springer, Cham. https://doi.org/10.1007/978-3-319-14974-5_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-14974-5_7

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-14973-8

  • Online ISBN: 978-3-319-14974-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics

Navigation