Skip to main content

Range Searching in Categorical Data: Colored Range Searching on Grid

  • Conference paper
  • First Online:
Algorithms — ESA 2002 (ESA 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2461))

Included in the following conference series:

Abstract

Range searching, a fundamental problem in numerous applications areas, has been widely studied in computational geometry and spatial databases. Given a set of geometric objects, a typical range query asks for reporting all the objects that intersect a query object. However in many applications, including databases and network routing, input objects are partitioned into categories and a query asks for reporting the set of categories of objects that intersect a query object. Moreover in many such applications, objects lie on a grid. We abstract the category of an object by associating a color with each object. In this paper, we present efficient data structures for solving the colored range-searching and colored point-enclosure problem on U x U grid. Our data structures use near- linear space and answer a query in O(log log U +k) time, where k is the output size. As far as we know, this is the first result on colored range-searching for objects lying on a grid.

Research by the first two authors is supported by NSF under grants CCR-00-86013 EIA-98-70724, EIA-01-31905, and CCR-97-32787, and by a grant from the U.S.- Israel Binational Science Foundation. Part of this work was done when the second author was visiting the third author at DIMACS.

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 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. P. K. Agarwal and J. Erickson. Geometric range searching and its relatives. In B. Chazelle, J. E. Goodman, and R. Pollack, editors, Advances in Discrete and Computational Geometry, volume 223 of Contemporary Mathematics, pages 1–56. American Mathematical Society, Providence, RI, 1999.

    Google Scholar 

  2. A. V. Aho, J. E. Hopcroft, and J. D. Ullman. Data Structures and Algorithms. Addison Wesley Press, 1983.

    Google Scholar 

  3. S. Alstrup, G. Brodal, and T. Rauhe. New data structures for ortogonal range searching. In Proc. 41th Annual IEEE Symp. Foundations of Comp. Sci., pages 198–207, 2000.

    Google Scholar 

  4. J. L. Bentley. Multidimensional divide-and-conquer. Commun. ACM, 23(4):214–229, 1980.

    Article  MATH  MathSciNet  Google Scholar 

  5. B. Chazelle. Filtering search: A new approach to query-answering. SIAM J. Comput., 15(3):703–724, 1986.

    Article  MATH  MathSciNet  Google Scholar 

  6. B. Chazelle. A functional approach to data structures and its use in multidimensional searching. SIAM J. Comput., 17(3):427–462, June 1988.

    Article  MATH  MathSciNet  Google Scholar 

  7. R. Cole and R. Hariharan. Dynamic lca queries. In Proc. 10th Annual Symposium on Discrete Algorithms, pages 235–244, 1999.

    Google Scholar 

  8. M. Dietzfelbinger, A. Karlin, K. Mehlhorn, F. M. auf der Heide, H. Rohnert, and R. E. Tarjan. Dynamic perfect hashing: Upper and lower bounds. SIAM J. Comput., 23:738–761, 1994.

    Article  MATH  MathSciNet  Google Scholar 

  9. J. R. Driscoll, N. Sarnak, D. D. Sleator, and R. E. Tarjan. Making data structures persistent. Journal of Computer and System Sciences, 38:86–124, 1989.

    Article  MATH  MathSciNet  Google Scholar 

  10. D. Eppstein and S. Muthukrishnan. Internet packet filter management and rectangle geometry. In Proc. 12th Annual Symp. on Discrete Algorithms, pages 827–835, 2001.

    Google Scholar 

  11. P. Ferragina, N. Koudas, D. Srivastava, and S. Muthukrishnan. Two-dimensional substring indexing. In Proc. of Intl Conf. on Principles of Database Systems, pages 282–288, 2001.

    Google Scholar 

  12. M. L. Fredman, J. Komlos, and E. Szemeredi. Storing a sparse table with o(1) worst case access time. J. Assoc. Comput. Mach., 31:538–544, 1984.

    MATH  MathSciNet  Google Scholar 

  13. J. Gupta, R. Janardan, and M. Smid. Further results on generalized intersection searching problems: Counting,reporting and dynamization. In Proc. 3rd Workshop on Algorithms and Data structures, pages 237–245, 1993.

    Google Scholar 

  14. R. Janardan and M. Lopez. Generalized intersection searching problems. J. of Comp. Geom. and Appl., 3:39–70, 1993.

    Article  MATH  MathSciNet  Google Scholar 

  15. S. Muthukrishnan. Efficient algorithms for document retrieval problems. In Proc. 13th Annual Symposium on Discrete Algorithms, 2002.

    Google Scholar 

  16. J. Nievergelt and P. Widmayer. Spatial data structures: Concepts and design choices. In J.-R. Sack and J. Urrutia, editors, Handbook of Computational Geometry, pages 725–764. Elsevier Science Publishers B.V. North-Holland, Amsterdam, 2000.

    Chapter  Google Scholar 

  17. M. Overmars. Efficient data structures for range searching on a grid. Journal of Algorithms, 9:254–275, 1988.

    Article  MATH  MathSciNet  Google Scholar 

  18. P. van Emde Boas. Preserving order in a forest in less than logarithmic time and linear space. Information Processing Letters, 6:80–82, 1977.

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Agarwal, P.K., Govindarajan, S., Muthukrishnan, S. (2002). Range Searching in Categorical Data: Colored Range Searching on Grid. In: Möhring, R., Raman, R. (eds) Algorithms — ESA 2002. ESA 2002. Lecture Notes in Computer Science, vol 2461. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45749-6_6

Download citation

  • DOI: https://doi.org/10.1007/3-540-45749-6_6

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-44180-9

  • Online ISBN: 978-3-540-45749-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics