Skip to main content

The Range 1 Query (R1Q) Problem

  • Conference paper
Computing and Combinatorics (COCOON 2014)

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

Included in the following conference series:

  • 1277 Accesses

Abstract

We define the range 1 query (R1Q) problem as follows. Given a d-dimensional (dā€‰ā‰„ā€‰1) input bit matrix A, preprocess A so that for any given region \(\mathcal{R}\) of A, one can efficiently answer queries asking if \(\mathcal{R}\) contains a 1 or not. We consider both orthogonal and non-orthogonal shapes for \(\mathcal{R}\) including rectangles, axis-parallel right-triangles, certain types of polygons, and spheres. We provide space-efficient deterministic and randomized algorithms with constant query times (in constant dimensions) for solving the problem in the word RAM model. The space usage in bits is sublinear, linear, or near linear in the size of A, depending on the algorithm.

Rezaul Chowdhury & Pramod Ganapathi are supported in part by NSF grant CCF-1162196. Michael A. Bender & Samuel McCauley are supported in part by NSF grants IIS-1247726, CCF-1217708, CCF-1114809, and CCF-0937822.

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 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Agarwal, P.K., Erickson, J.: Geometric range searching and its relatives. Contemporary MathematicsĀ 223, 1ā€“56 (1999)

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  2. Amir, A., Fischer, J., Lewenstein, M.: Two-dimensional range minimum queries. In: Ma, B., Zhang, K. (eds.) CPM 2007. LNCS, vol.Ā 4580, pp. 286ā€“294. Springer, Heidelberg (2007)

    ChapterĀ  Google ScholarĀ 

  3. Bender, M.A., Farach-Colton, M.: The lca problem revisited. In: Gonnet, G.H., Viola, A. (eds.) LATIN 2000. LNCS, vol.Ā 1776, pp. 88ā€“94. Springer, Heidelberg (2000)

    Google ScholarĀ 

  4. Bender, M.A., Farach-Colton, M., Pemmasani, G., Skiena, S., Sumazin, P.: Lowest common ancestors in trees and directed acyclic graphs. Journal of AlgorithmsĀ 57(2), 75ā€“94 (2005)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  5. Berkman, O., Vishkin, U.: Recursive star-tree parallel data structure. SIAM Journal on ComputingĀ 22(2), 221ā€“242 (1993)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  6. Brodal, G.S., Davoodi, P., Rao, S.S.: On space efficient two dimensional range minimum data structures. AlgorithmicaĀ 63(4), 815ā€“830 (2012)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  7. Chazelle, B., Rosenberg, B.: Computing partial sums in multidimensional arrays. In: SoCG, pp. 131ā€“139. ACM (1989)

    Google ScholarĀ 

  8. Cormode, G., Muthukrishnan, S.: An improved data stream summary: The count-min sketch and its applications. Journal of AlgorithmsĀ 55(1), 58ā€“75 (2005)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  9. De Berg, M., Cheong, O., van Kreveld, M., Overmars, M.: Computational geometry. Springer (2008)

    Google ScholarĀ 

  10. Fischer, J.: Optimal succinctness for range minimum queries. In: LĆ³pez-Ortiz, A. (ed.) LATIN 2010. LNCS, vol.Ā 6034, pp. 158ā€“169. Springer, Heidelberg (2010)

    Google ScholarĀ 

  11. Fischer, J., Heun, V.: A new succinct representation of rmq-information and improvements in the enhanced suffix array. In: Chen, B., Paterson, M., Zhang, G. (eds.) ESCAPE 2007. LNCS, vol.Ā 4614, pp. 459ā€“470. Springer, Heidelberg (2007)

    ChapterĀ  Google ScholarĀ 

  12. Fischer, J., Heun, V., Stiihler, H.: Practical entropy-bounded schemes for o(1)-range minimum queries. In: Data Compression Conference, pp. 272ā€“281. IEEE (2008)

    Google ScholarĀ 

  13. Golynski, A.: Optimal lower bounds for rank and select indexes. TCSĀ 387(3), 348ā€“359 (2007)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  14. GonzĆ”lez, R., Grabowski, S., MƤkinen, V., Navarro, G.: Practical implementation of rank and select queries. In: Poster Proc. WEA, pp. 27ā€“38 (2005)

    Google ScholarĀ 

  15. Navarro, G., Nekrich, Y., Russo, L.: Space-efficient data-analysis queries on grids. TCS (2012)

    Google ScholarĀ 

  16. Overmars, M.H.: Efficient data structures for range searching on a grid. Journal of AlgorithmsĀ 9(2), 254ā€“275 (1988)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  17. Sadakane, K.: Compressed suffix trees with full functionality. Theory of Computing SystemsĀ 41(4), 589ā€“607 (2007)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  18. Sadakane, K.: Succinct data structures for flexible text retrieval systems. JDAĀ 5(1), 12ā€“22 (2007)

    MATHĀ  MathSciNetĀ  Google ScholarĀ 

  19. Sharir, M., Shaul, H.: Semialgebraic range reporting and emptiness searching with applications. SIAM Journal on ComputingĀ 40(4), 1045ā€“1074 (2011)

    ArticleĀ  MATHĀ  MathSciNetĀ  Google ScholarĀ 

  20. Tang, Y., Chowdhury, R., Kuszmaul, B.C., Luk, C.K., Leiserson, C.E.: The Pochoir stencil compiler. In: SPAA, pp. 117ā€“128. ACM (2011)

    Google ScholarĀ 

  21. Yao, A.C.: Space-time tradeoff for answering range queries. In: STOC, pp. 128ā€“136. ACM (1982)

    Google ScholarĀ 

  22. Yuan, H., Atallah, M.J.: Data structures for range minimum queries in multidimensional arrays. In: SODA, pp. 150ā€“160 (2010)

    Google ScholarĀ 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2014 Springer International Publishing Switzerland

About this paper

Cite this paper

Bender, M.A., Chowdhury, R.A., Ganapathi, P., McCauley, S., Tang, Y. (2014). The Range 1 Query (R1Q) Problem. In: Cai, Z., Zelikovsky, A., Bourgeois, A. (eds) Computing and Combinatorics. COCOON 2014. Lecture Notes in Computer Science, vol 8591. Springer, Cham. https://doi.org/10.1007/978-3-319-08783-2_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-08783-2_11

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-08782-5

  • Online ISBN: 978-3-319-08783-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics