Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1998196.1998198acmconferencesArticle/Chapter ViewAbstractPublication PagessocgConference Proceedingsconference-collections
research-article

Orthogonal range searching on the RAM, revisited

Published: 13 June 2011 Publication History

Abstract

We present a number of new results on one of the most extensively studied topics in computational geometry, orthogonal range searching. All our results are in the standard word RAM model: We present two data structures for 2-d orthogonal range emptiness. The first achieves O(n lg lg n) space and O(lg lg n) query time, assuming that the n given points are in rank space. This improves the previous results by Alstrup, Brodal, and Rauhe (FOCS'00), with O(n lgε n) space and O(lg lg n) query time, or with O(n lg lg n) space and O(lg2lg n) query time. Our second data structure uses O(n) space and answers queries in O(lgε n) time. The best previous O(n)-space data structure, due to Nekrich (WADS'07), answers queries in O(lg n/lg lg n) time. We give a data structure for 3-d orthogonal range reporting with O(n lg1+ε n) space and O(lg lg n + k) query time for points in rank space, for any constant ε>0. This improves the previous results by Afshani (ESA'08), Karpinski and Nekrich (COCOON'09), and Chan (SODA'11), with O(n lg3 n) space and O(lg lg n + k) query time, or with O(n lg1+εn) space and O(lg2lg n + k) query time. Consequently, we obtain improved upper bounds for orthogonal range reporting in all constant dimensions above 3.
Our approach also leads to a new data structure for 2D orthogonal range minimum queries with O(n lgε n) space and O(lg lg n) query time for points in rank space. We give a randomized algorithm for 4-d offline dominance range reporting/emptiness with running time O(n log n) plus the output size. This resolves two open problems (both appeared in Preparata and Shamos' seminal book): given a set of n axis-aligned rectangles in the plane, we can report all k enclosure pairs (i.e., pairs (r1,r2) where rectangle r1 completely encloses rectangle r2) in O(n lg n + k) expected time; given a set of n points in 4-d, we can find all maximal points (points not dominated by any other points) in O(n lg n) expected time. The most recent previous development on (a) was reported back in SoCG'95 by Gupta, Janardan, Smid, and Dasgupta, whose main result was an O([n lg n + k] lg lg n) algorithm. The best previous result on (b) was an O(n lg n lg lg n) algorithm due to Gabow, Bentley, and Tarjan---from STOC'84! As a consequence, we also obtain the current-record time bound for the maxima problem in all constant dimensions above~4.

References

[1]
P. Afshani. On dominance reporting in 3D. In Proc. 16th European Symposium on Algorithms, pages 41--51, 2008.
[2]
P. Afshani, L. Arge, and K. D. Larsen. Orthogonal range reporting in three and higher dimensions. In Proc. 50th IEEE Symposium on Foundations of Computer Science, pages 149--158, 2009.
[3]
P. Afshani, L. Arge, and K. D. Larsen. Orthogonal range reporting: Query lower bounds, optimal structures in 3d, and higher dimensional improvements. In Proc. 26th ACM Symposium on Computational Geometry, pages 240--246, 2010.
[4]
P. Afshani, J. Barbay, and T. M. Chan. Instance-optimal geometric algorithms. In Proc. 50th IEEE Symposium on Foundations of Computer Science, pages 129--138, 2009.
[5]
P. K. Agarwal. Range searching. In J. E. Goodman and J. O'Rourke, editors, CRC Handbook of Discrete and Computational Geometry. CRC Press, Inc., 2004.
[6]
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. AMS Press, 1999.
[7]
M. Ajtai, M. L. Fredman, and J. Komlós. Hash functions for priority queues. Information and Control, 63(3):217--225, 1984. See also FOCS'83.
[8]
S. Alstrup, G. S. Brodal, and T. Rauhe. New data structures for orthogonal range searching. In Proc. 41st IEEE Symposium on Foundations of Computer Science, pages 198--207, 2000.
[9]
L. Arge, V. Samoladas, and J. S. Vitter. On two-dimensional indexability and optimal range search indexing. In Proc. 18th ACM Symposium on Principles of Database Systems, pages 346--357, New York, NY, USA, 1999. ACM.
[10]
J. L. Bentley. Multidimensional divide-and-conquer. Communications of the ACM, 23(4):214--229, 1980.
[11]
J. L. Bentley, K. L. Clarkson, and D. B. Levine. Fast linear expected-time algorithms for computing maxima and convex hulls. In Proc. 1st ACM/SIAM Symposium on Discrete Algorithms, pages 179--187, 1990.
[12]
J. L. Bentley and D. Wood. An optimal worst case algorithm for reporting intersections of rectangles. IEEE Transactions on Computers, C-29:571--577, 1980.
[13]
T. M. Chan. Persistent predecessor search and orthogonal point location in the word RAM. In Proc. 22nd ACM/SIAM Symposium on Discrete Algorithms, pages 1131--1145, 2011.
[14]
T. M. Chan and M. Patraşcu. Transdichotomous results in computational geometry, I: point location in sublogarithmic time. SIAM Journal on Computing, 39:703--729, 2009.
[15]
T. M. Chan and M. Patraşcu. Counting inversions, offline orthogonal range counting, and related problems. In Proc. 21st ACM/SIAM Symposium on Discrete Algorithms, pages 161--173, 2010.
[16]
T. M. Chan and M. Patraşcu. Transdichotomous results in computational geometry, II: offline search. ACM Transactions on Algorithms, submitted, 2010. Preliminary version in STOC'07.
[17]
B. Chazelle. Filtering search: a new approach to query answering. SIAM Journal on Computing, 15(3):703--724, 1986.
[18]
B. Chazelle. Functional approach to data structures and its use in multidimensional searching. SIAM Journal on Computing, 17(3):427--462, 1988.
[19]
B. Chazelle. Lower bounds for orthogonal range searching: I. the reporting case. Journal of the ACM, 37(2):200--212, 1990.
[20]
B. Chazelle. Lower bounds for orthogonal range searching: part II. the arithmetic model. Journal of the ACM, 37(3):439--463, 1990.
[21]
B. Chazelle. Lower bounds for off-line range searching. In Proc. 27th ACM Symposium on Theory of Computing, pages 733--740, 1995.
[22]
B. Chazelle and L. J. Guibas. Fractional cascading: I. A data structuring technique. Algorithmica, 1:133--162, 1986.
[23]
B. Chazelle and L. J. Guibas. Fractional cascading: II. Applications. Algorithmica, 1:163--191, 1986.
[24]
K. L. Clarkson. New applications of random sampling in computational geometry. Discrete and Computational Geometry, 2:195--222, 1987.
[25]
K. L. Clarkson. More output-sensitive geometric algorithms. In Proc. 35th IEEE Symposium on Foundations of Computer Science, pages 695--702, 1994.
[26]
K. L. Clarkson and P. W. Shor. Applications of random sampling in computational geometry, II. Discrete and Computational Geometry, 4:387--421, 1989.
[27]
J. Fischer. Optimal succinctness for range minimum queries. In Proc. 9th Latin American Theoretical Informatics Symposium, pages 158--169, 2010.
[28]
F. W. Fredman and D. E. Willard. Surpassing the information theoretic bound with fusion trees. Journal of Computer and System Sciences, 48(3):424--436, 1993.
[29]
M. L. Fredman. A lower bound on the complexity of orthogonal range queries. Journal of the ACM, 28(4):696--705, 1981.
[30]
M. L. Fredman and D. E. Willard. Surpassing the information theoretic bound with fusion trees. Journal of Computer and System Sciences, 47(3):424--436, 1993. See also STOC'90.
[31]
H. N. Gabow, J. L. Bentley, and R. E. Tarjan. Scaling and related techniques for geometry problems. In Proc. 16th ACM Symposium on Theory of Computing, pages 135--143, 1984.
[32]
M. J. Golin. A provably fast linear-expected-time maxima-finding algorithm. Algorithmica, 11:501--524, 1994.
[33]
R. Grossi, A. Orlandi, R. Raman, and S. S. Rao. More haste, less waste: Lowering the redundancy in fully indexable dictionaries. In Proc. 26th Symposium on Theoretical Aspects of Computer Science, pages 517--528, 2009.
[34]
P. Gupta, R. Janardan, M. Smid, and B. Dasgupta. The rectangle enclosure and point-dominance problems revisited. International Journal of Computational Geometry & Applications, 7:437--455, 1997.
[35]
Y. Han and M. Thorup. Integer sorting in (n√ log log n) expected time and linear space. In Proc. 43rd IEEE Symposium on Foundations of Computer Science, pages 135--144, 2002.
[36]
J. M. Hellerstein, E. Koutsoupias, D. P. Miranker, C. H. Papadimitriou, and V. Samoladas. On a model of indexability and its bounds for range queries. Journal of the ACM, 49(1):35--55, 2002.
[37]
J. JaJa, C. W. Mortensen, and Q. Shi. Space-efficient and fast algorithms for multidimensional dominance reporting and counting. In Proc. 15th International Symposium on Algorithms and Computation, pages 558--568, 2004.
[38]
M. Karpinski and Y. Nekrich. Space efficient multi-dimensional range reporting. In Proc. 15th Annual Combinatorics and Computing Conference, pages 215--224, 2009.
[39]
D. G. Kirkpatrick and R. Seidel. Output-size sensitive algorithms for finding maximal vectors. In Proc. 1st ACM Symposium on Computational Geometry, pages 89--96, 1985.
[40]
H. T. Kung, F. Luccio, and F. P. Preparata. On finding the maxima of a set of vectors. Journal of the ACM, 22:469--476, 1975.
[41]
G. Lagogiannis, C. Makris, and A. Tsakalidis. A new algorithm for rectangle enclosure reporting. Information Processing Letters, 72:177--182, 1999.
[42]
D. T. Lee and F. P. Preparata. An improved algorithm for the rectangle enclosure problem. Journal of Algorithms, 3:218--224, 1982.
[43]
G. S. Lueker. A data structure for orthogonal range queries. In Proc. 19th IEEE Symposium on Foundations of Computer Science, pages 28--34, 1978.
[44]
C. Makris and A. Tsakalidis. Algorithms for three-dimensional dominance searching in linear space. Information Processing Letters, 66(6):277--283, 1998.
[45]
E. M. McCreight. Priority search trees. SIAM Journal on Computing, 14(2):257--276, 1985.
[46]
Y. Nekrich. A data structure for multi-dimensional range reporting. In Proc. 23rd ACM Symposium on Computational Geometry, pages 344--353, 2007.
[47]
Y. Nekrich. Orthogonal range searching in linear and almost-linear space. Computational Geometry: Theory and Applications, 42:342--351, 2009.
[48]
M. H. Overmars. Efficient data structures for range searching on a grid. Journal of Algorithms, 9:254--275, 1988.
[49]
M. Patrascu. Succincter. In Proc. 49th IEEE Symposium on Foundations of Computer Science, pages 305--313, 2008.
[50]
M. Patrascu. Unifying the landscape of cell-probe lower bounds. In Proc. 49th IEEE Symposium on Foundations of Computer Science, pages 434--443, 2008.
[51]
M. Patrascu and M. Thorup. Time-space trade-offs for predecessor search. In Proc. 38th ACM Symposium on Theory of Computing, pages 232--240, 2006.
[52]
F. P. Preparata and M. I. Shamos. Computational Geometry: An Introduction. Springer-Verlag, New York, NY, 1985.
[53]
S. Subramanian and S. Ramaswamy. The P-range tree: a new data structure for range searching in secondary memory. In Proc. 6th ACM/SIAM Symposium on Discrete Algorithms, pages 378--387, 1995.
[54]
V. Vaishnavi and D. Wood. Data structures for the rectangle containment and enclosure problems. Computer Graphics and Image Processing, 13:372--384, 1980.
[55]
P. van Emde Boas. Preserving order in a forest in less than logarithmic time and linear space. Information Processing Letters, 6:80--82, 1977.
[56]
D. E. Vengroff and J. S. Vitter. Efficient 3-D range searching in external memory. In Proc. 28th ACM Symposium on Theory of Computing, pages 192--201, 1996.
[57]
D. E. Willard. Lower bounds for the addition-subtraction operations in orthogonal range queries and related problems. Information and Computation, 82(1):45--64, 1989.

Cited By

View all
  • (2024)Space-Efficient Indexes for Uncertain Strings2024 IEEE 40th International Conference on Data Engineering (ICDE)10.1109/ICDE60146.2024.00367(4828-4842)Online publication date: 13-May-2024
  • (2024)On the Number of Incidences When Avoiding an Induced Biclique in Geometric SettingsDiscrete & Computational Geometry10.1007/s00454-024-00648-8Online publication date: 23-May-2024
  • (2024)Near-Optimal Search Time in -Optimal Space, and Vice VersaAlgorithmica10.1007/s00453-023-01186-086:4(1031-1056)Online publication date: 1-Apr-2024
  • Show More Cited By

Index Terms

  1. Orthogonal range searching on the RAM, revisited

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SoCG '11: Proceedings of the twenty-seventh annual symposium on Computational geometry
    June 2011
    532 pages
    ISBN:9781450306829
    DOI:10.1145/1998196
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 13 June 2011

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. dominance
    2. geometric data structures
    3. maxima
    4. orthogonal range searching
    5. word RAM

    Qualifiers

    • Research-article

    Conference

    SoCG '11
    SoCG '11: Symposium on Computational Geometry
    June 13 - 15, 2011
    Paris, France

    Acceptance Rates

    Overall Acceptance Rate 625 of 1,685 submissions, 37%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)56
    • Downloads (Last 6 weeks)11
    Reflects downloads up to 10 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Space-Efficient Indexes for Uncertain Strings2024 IEEE 40th International Conference on Data Engineering (ICDE)10.1109/ICDE60146.2024.00367(4828-4842)Online publication date: 13-May-2024
    • (2024)On the Number of Incidences When Avoiding an Induced Biclique in Geometric SettingsDiscrete & Computational Geometry10.1007/s00454-024-00648-8Online publication date: 23-May-2024
    • (2024)Near-Optimal Search Time in -Optimal Space, and Vice VersaAlgorithmica10.1007/s00453-023-01186-086:4(1031-1056)Online publication date: 1-Apr-2024
    • (2024)Elastic-Degenerate String Matching with 1 Error or MismatchTheory of Computing Systems10.1007/s00224-024-10194-868:5(1442-1467)Online publication date: 16-Sep-2024
    • (2024)On Approximate Colored Path CountingLATIN 2024: Theoretical Informatics10.1007/978-3-031-55598-5_14(209-224)Online publication date: 18-Mar-2024
    • (2023)Text Indexing for Long Patterns: Anchors are All you NeedProceedings of the VLDB Endowment10.14778/3598581.359858616:9(2117-2131)Online publication date: 1-May-2023
    • (2023)Combining multitask and transfer learning with deep Gaussian processes for autotuning-based performance engineeringThe International Journal of High Performance Computing Applications10.1177/1094342023116636537:3-4(229-244)Online publication date: 30-Mar-2023
    • (2023)Bidirectional String Anchors for Improved Text Indexing and Top-$K$ Similarity SearchIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2022.323178035:11(11093-11111)Online publication date: 1-Nov-2023
    • (2023)A Simple Grammar-Based Index for Finding Approximately Longest Common SubstringsString Processing and Information Retrieval10.1007/978-3-031-43980-3_19(246-252)Online publication date: 20-Sep-2023
    • (2023)Adaptive Data Structures for 2D Dominance Colored Range CountingAlgorithms and Data Structures10.1007/978-3-031-38906-1_30(460-473)Online publication date: 28-Jul-2023
    • Show More Cited By

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media