A Nearly Linear Time Construction of Approximate Single-Source Distance Sensitivity Oracles

Authors Kaito Harada , Naoki Kitamura , Taisuke Izumi , Toshimitsu Masuzawa



PDF
Thumbnail PDF

File

LIPIcs.ESA.2024.65.pdf
  • Filesize: 1.32 MB
  • 18 pages

Document Identifiers

Author Details

Kaito Harada
  • Osaka University, Suita, Japan
Naoki Kitamura
  • Osaka University, Suita, Japan
Taisuke Izumi
  • Osaka University, Suita, Japan
Toshimitsu Masuzawa
  • Osaka University, Suita, Japan

Cite AsGet BibTex

Kaito Harada, Naoki Kitamura, Taisuke Izumi, and Toshimitsu Masuzawa. A Nearly Linear Time Construction of Approximate Single-Source Distance Sensitivity Oracles. In 32nd Annual European Symposium on Algorithms (ESA 2024). Leibniz International Proceedings in Informatics (LIPIcs), Volume 308, pp. 65:1-65:18, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024)
https://doi.org/10.4230/LIPIcs.ESA.2024.65

Abstract

An α-approximate vertex fault-tolerant distance sensitivity oracle (α-VSDO) for a weighted input graph G = (V, E, w) and a source vertex s ∈ V is the data structure answering an α-approximate distance from s to t in G-x for any given query (x, t) ∈ V × V. It is a data structure version of the so-called single-source replacement path problem (SSRP). In this paper, we present a new nearly linear-time algorithm of constructing a (1 + ε)-VSDO for any directed input graph with polynomially bounded integer edge weights. More precisely, the presented oracle attains Õ(m log (nW)/ ε + n log² (nW)/ε²) construction time, Õ(n log (nW) / ε) size, and Õ(1/ε) query time, where n is the number of vertices, m is the number of edges, and W is the maximum edge weight. These bounds are all optimal up to polylogarithmic factors. To the best of our knowledge, this is the first non-trivial algorithm for SSRP/VSDO beating Õ(mn) computation time for directed graphs with general edge weight functions, and also the first nearly linear-time construction breaking approximation factor 3. Such a construction has been unknown even for undirected and unweighted graphs. In addition, our result implies that the known conditional lower bounds for the exact SSRP computation does not apply to the case of approximation.

Subject Classification

ACM Subject Classification
  • Theory of computation → Shortest paths
  • Theory of computation → Data structures design and analysis
Keywords
  • data structure
  • distance sensitivity oracle
  • replacement path problem
  • graph algorithm

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Surender Baswana, Keerti Choudhary, Moazzam Hussain, and Liam Roditty. Approximate single-source fault tolerant shortest path. ACM Trans. Algorithms, 16(4), July 2020. URL: https://doi.org/10.1145/3397532.
  2. Surender Baswana and Neelesh Khanna. Approximate shortest paths avoiding a failed vertex: Near optimal data structures for undirected unweighted graphs. Algorithmica, 66(1):18-50, 2013. URL: https://doi.org/10.1007/s00453-012-9621-y.
  3. Aaron Bernstein. A nearly optimal algorithm for approximating replacement paths and k shortest simple paths in general graphs. In Proc. of the Twenty-First Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 742-755, USA, 2010. URL: https://doi.org/10.1137/1.9781611973075.61.
  4. Aaron Bernstein and David Karger. A nearly optimal oracle for avoiding failed vertices and edges. In Proc. of the Forty-First Annual ACM Symposium on Theory of Computing (STOC), pages 101-110, 2009. URL: https://doi.org/10.1145/1536414.1536431.
  5. Davide Bilò, Shiri Chechik, Keerti Choudhary, Sarel Cohen, Tobias Friedrich, Simon Krogmann, and Martin Schirneck. Approximate distance sensitivity oracles in subquadratic space. In Proc. of the 55th Annual ACM Symposium on Theory of Computing (STOC), pages 1396-1409, 2023. URL: https://doi.org/10.1145/3564246.3585251.
  6. Davide Bilò, Sarel Cohen, Tobias Friedrich, and Martin Schirneck. Near-Optimal Deterministic Single-Source Distance Sensitivity Oracles. In 29th Annual European Symposium on Algorithms (ESA 2021), volume 204, pages 18:1-18:17, 2021. URL: https://doi.org/10.4230/LIPIcs.ESA.2021.18.
  7. Davide Bilo, Luciano Guala, Stefano Leucci, and Guido Proietti. Compact and Fast Sensitivity Oracles for Single-Source Distances. In 24th Annual European Symposium on Algorithms (ESA 2016), pages 13:1-13:14, 2016. URL: https://doi.org/10.4230/LIPIcs.ESA.2016.13.
  8. Davide Bilò, Luciano Gualà, Stefano Leucci, and Guido Proietti. Fault-tolerant approximate shortest-path trees. Algorithmica, 80(12):3437-3460, 2018. URL: https://doi.org/10.1007/s00453-017-0396-z.
  9. Davide Bilò, Luciano Gualà, Stefano Leucci, and Guido Proietti. Multiple-edge-fault-tolerant approximate shortest-path trees. Algorithmica, 84(1):37-59, 2022. URL: https://doi.org/10.1007/s00453-021-00879-8.
  10. Shiri Chechik and Sarel Cohen. Near optimal algorithms for the single source replacement paths problem. In Proc. of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2090-2109, 2019. URL: https://doi.org/10.1137/1.9781611975482.126.
  11. Shiri Chechik, Sarel Cohen, Amos Fiat, and Haim Kaplan. (1 + ε)-approximate f-sensitive distance oracles. In Proc. of the 2017 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1479-1496, 2017. URL: https://doi.org/10.1137/1.9781611974782.96.
  12. Shiri Chechik and Ofer Magen. Near Optimal Algorithm for the Directed Single Source Replacement Paths Problem. In 47th International Colloquium on Automata, Languages, and Programming (ICALP 2020), pages 81:1-81:17, 2020. URL: https://doi.org/10.4230/LIPIcs.ICALP.2020.81.
  13. Shiri Chechik and Tianyi Zhang. Nearly optimal approximate dual-failure replacement paths. In Proc. of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2568-2596, 2024. URL: https://doi.org/10.1137/1.9781611977912.91.
  14. Camil Demetrescu and Mikkel Thorup. Oracles for distances avoiding a link-failure. In Proc. of the Thirteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 838-843, 2002. URL: https://doi.org/10.1137/S0097539705429847.
  15. Dipan Dey and Manoj Gupta. Near optimal algorithm for fault tolerant distance oracle and single source replacement path problem. In European Symposium on Algorithms (ESA), pages 42:1-42:18, 2022. URL: https://doi.org/10.4230/LIPIcs.ESA.2022.42.
  16. Ran Duan, Yong Gu, and Hanlin Ren. Approximate distance oracles subject to multiple vertex failures. In Proc. of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2497-2516, 2021. URL: https://doi.org/10.1137/1.9781611976465.148.
  17. Ran Duan and Hanlin Ren. Maintaining exact distances under multiple edge failures. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 1093-1101, 2022. URL: https://doi.org/10.1145/3519935.3520002.
  18. Fabrizio Grandoni and Virginia Vassilevska Williams. Improved distance sensitivity oracles via fast single-source replacement paths. In 2012 IEEE 53rd Annual Symposium on Foundations of Computer Science, pages 748-757, 2012. URL: https://doi.org/10.1109/FOCS.2012.17.
  19. Yuzhou Gu, Adam Polak, Virginia Vassilevska Williams, and Yinzhan Xu. Faster Monotone Min-Plus Product, Range Mode, and Single Source Replacement Paths. In Proc. of 48th International Colloquium on Automata, Languages, and Programming (ICALP 2021), pages 75:1-75:20, 2021. URL: https://doi.org/10.4230/LIPIcs.ICALP.2021.75.
  20. Manoj Gupta and Aditi Singh. Generic Single Edge Fault Tolerant Exact Distance Oracle. In 45th International Colloquium on Automata, Languages, and Programming (ICALP 2018), pages 72:1-72:15, 2018. URL: https://doi.org/10.4230/LIPIcs.ICALP.2018.72.
  21. John Hershberger and Subhash Suri. Vickrey prices and shortest paths: What is an edge worth? In Proc. of 42nd IEEE symposium on foundations of computer science (FOCS), pages 252-259, 2001. URL: https://doi.org/10.1109/SFCS.2001.959899.
  22. John Hershberger, Subhash Suri, and Amit Bhosle. On the difficulty of some shortest path problems. ACM Trans. Algorithms, 3(1), 2007. URL: https://doi.org/10.1145/1186810.1186815.
  23. David R. Karger, Daphne Koller, and Steven J. Phillips. Finding the hidden path: Time bounds for all-pairs shortest paths. SIAM Journal on Computing, 22(6):1199-1217, 1993. URL: https://doi.org/10.1137/0222071.
  24. K. Malik, A.K. Mittal, and S.K. Gupta. The k most vital arcs in the shortest path problem. Operations Research Letters, 8(4):223-227, 1989. URL: https://doi.org/10.1016/0167-6377(89)90065-5.
  25. Enrico Nardelli, Guido Proietti, and Peter Widmayer. A faster computation of the most vital edge of a shortest path. Information Processing Letters, 79(2):81-85, 2001. URL: https://doi.org/10.1016/S0020-0190(00)00175-7.
  26. Enrico Nardelli, Guido Proietti, and Peter Widmayer. Finding the most vital node of a shortest path. Theoretical Computer Science, 296(1):167-177, 2003. URL: https://doi.org/10.1016/S0304-3975(02)00438-3.
  27. Noam Nisan and Amir Ronen. Algorithmic mechanism design (extended abstract). In Proc. of the 31st Annual ACM Symposium on Theory of Computing (STOC), STOC '99, pages 129-140, 1999. URL: https://doi.org/10.1145/301250.301287.
  28. Merav Parter and David Peleg. Fault-tolerant approximate bfs structures. ACM Trans. Algorithms, 14(1), 2018. URL: https://doi.org/10.1145/3022730.
  29. Merav Parter and David Peleg. Fault tolerant approximate bfs structures with additive stretch. Algorithmica, 82(12):3458-3491, 2020. URL: https://doi.org/10.1007/s00453-020-00734-2.
  30. Liam Roditty and Uri Zwick. Replacement paths and k simple shortest paths in unweighted directed graphs. ACM Trans. Algorithms, 8(4), 2012. URL: https://doi.org/10.1145/2344422.2344423.
  31. V. Williams, E. Woldeghebriel, and Y. Xu. Algorithms and lower bounds for replacement paths under multiple edge failure. In Proc. of 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS), pages 907-918, 2022. URL: https://doi.org/10.1109/FOCS54457.2022.00090.
  32. Virginia Vassilevska Williams. Faster replacement paths. In Proc. of the Twenty-Second Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1337-1346, 2011. URL: https://doi.org/10.1145/3365835.
  33. Virginia Vassilevska Williams and R. Ryan Williams. Subcubic equivalences between path, matrix, and triangle problems. J. ACM, 65(5), 2018. URL: https://doi.org/10.1145/3186893.
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail