Skip to main navigation Skip to search Skip to main content

Faster Algorithms for (2k - 1)-Stretch Distance Oracles

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The seminal distance oracles of Thorup and Zwick [STOC 2001, JACM 2005] provide optimal stretch/space tradeoffs. However, their O(mn1/k) construction time is not optimal, and they posed the question of whether a faster construction time is possible (especially for small k). In this paper, we present the first improvement upon their construction algorithm in graphs that are not super sparse, i.e., when m = Ω(n1+1/k+ε), for any ε > 0. Moreover, our construction improves upon the O(n2)-time construction of Baswana and Kavitha [FOCS 2006, SICOMP 2010], for every k > 2. By achieving the first subquadratic construction for 2 < k < 6, we resolve the open problem posed by Wulff-Nilsen [SODA 2012] of whether such subquadratic-time constructions exist. Wulff-Nilsen [SODA 2012] targeted nearly linear construction times and presented algorithms running in Õ(m + n1+f(k)) time, which is near-linear whenever the graph density m exceeds the threshold n1+f(k). We obtain improved bounds on f(k) for all k > 3, and thus expand the regime of graph densities for which nearly linear construction times are achievable. In addition, for unweighted graphs, we present several new algorithms for constructing (2k-1, β)-oracles that improve upon the results of Baswana, Gaur, Sen, and Upadhyay [ICALP 2008]. Our results are achieved through the development of several new algorithmic tools, which may be of independent interest. One of our main technical contributions is a hierarchy of parameterized distance oracles, which plays a central role in our fast construction algorithms.

Original languageEnglish
Title of host publication53rd International Colloquium on Automata, Languages, and Programming, ICALP 2026
EditorsSayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, Gabriele Puppis
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
ISBN (Electronic)9783959774284
DOIs
StatePublished - 1 Jul 2026
Event53rd International Colloquium on Automata, Languages, and Programming, ICALP 2026 - Egham, United Kingdom
Duration: 7 Jul 202610 Jul 2026

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume374
ISSN (Print)1868-8969

Conference

Conference53rd International Colloquium on Automata, Languages, and Programming, ICALP 2026
Country/TerritoryUnited Kingdom
CityEgham
Period7/07/2610/07/26

Bibliographical note

Publisher Copyright:
© Avi Kadria and Liam Roditty.

Keywords

  • Fine-grained complexity
  • Graph algorithms
  • girth approximations
  • shortest cycle

Fingerprint

Dive into the research topics of 'Faster Algorithms for (2k - 1)-Stretch Distance Oracles'. Together they form a unique fingerprint.

Cite this