Skip to main content

Cache-Oblivious Iterated Predecessor Queries via Range Coalescing

  • Conference paper
  • First Online:
Algorithms and Data Structures (WADS 2015)

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

Included in the following conference series:

Abstract

In this paper we develop an optimal cache-oblivious data structure that solves the iterated predecessor problem. Given k static sorted lists \(L_1, L_2, \ldots , L_k\) of average length n and a query value q, the iterated predecessor problem is to find the largest element in each list which is less than q. Our solution to this problem, called “range coalescing”, requires \(O(\log _{B+1} n + k/B)\) memory transfers for a query on a cache of block size B, which is information-theoretically optimal. The range-coalescing data structure consumes O(k n) space, and preprocessing requires only O(kn / B) memory transfers with high probability, given a tall cache of size \(M = \varOmega \mathopen {}\left( B^2\right) \mathclose {}\).

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. Arge, L., Bender, M.A., Demaine, E.D., Holland-Minkley, B., Munro, J.I.: Cache-oblivious priority queue and graph algorithm applications. In: STOC (2002)

    Google Scholar 

  2. Bayer, R., McCreight, E.M.: Organization and maintenance of large ordered indexes. Acta Informatica (1972)

    Google Scholar 

  3. Bender, M.A., Demaine, E., Farach-Colton, M.: Cache-oblivious B-trees. In: FOCS, pp. 399–409 (2000)

    Google Scholar 

  4. Blelloch, G.E., Leiserson, C.E., Maggs, B.M., Plaxton, C.G., Smith, S.J., Zagha, M.: A comparison of sorting algorithms for the connection machine CM-2. In: SPAA (1991)

    Google Scholar 

  5. Brodal, G.S., Fagerberg, R.: Funnel heap - a cache oblivious priority queue. In: Bose, P., Morin, P. (eds.) ISAAC 2002. LNCS, vol. 2518, pp. 219–228. Springer, Heidelberg (2002)

    Google Scholar 

  6. Chazelle, B., Guibas, L.: Fractional cascading: 1. a data structuring technique. Algorithmica (1986)

    Google Scholar 

  7. Frigo, M., Leiserson, C.E., Prokop, H., Ramachandran, S.: Cache-oblivious algorithms. In: FOCS (1999)

    Google Scholar 

  8. Morton, G.: A computer oriented geodetic data base; and a new technique in file sequencing. Tech. rep., IBM (1966)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to William Hasenplaugh .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Demaine, E.D., Gopal, V., Hasenplaugh, W. (2015). Cache-Oblivious Iterated Predecessor Queries via Range Coalescing. In: Dehne, F., Sack, JR., Stege, U. (eds) Algorithms and Data Structures. WADS 2015. Lecture Notes in Computer Science(), vol 9214. Springer, Cham. https://doi.org/10.1007/978-3-319-21840-3_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-21840-3_21

  • Published:

  • Publisher Name: Springer, Cham

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

  • Online ISBN: 978-3-319-21840-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics