Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
102 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

A Nearly Linear Time Construction of Approximate Single-Source Distance Sensitivity Oracles (2401.01103v2)

Published 2 Jan 2024 in cs.DS

Abstract: An \emph{$\alpha$-approximate vertex fault-tolerant distance sensitivity oracle} (\emph{$\alpha$-VSDO}) for a weighted input graph $G=(V, E, w)$ and a source vertex $s \in V$ is the data structure answering an $\alpha$-approximate distance from $s$ to $t$ in $G-x$ for any given query $(x, t) \in V \times V$. It is a data structure version of the so-called single-source replacement path problem (SSRP). In this paper, we present a new \emph{nearly linear-time} algorithm of constructing a $(1 + \epsilon)$-VSDO for any directed input graph with polynomially bounded integer edge weights. More precisely, the presented oracle attains $\tilde{O}(m \log (nW)/ \epsilon + n \log2 (nW)/\epsilon2)$ construction time, $\tilde{O}(n \log (nW) / \epsilon)$ size, and $\tilde{O}(1/\epsilon)$ 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 $\tilde{O}(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.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (17)
  1. Approximate single-source fault tolerant shortest path. ACM Trans. Algorithms, 16(4), jul 2020.
  2. Approximate shortest paths avoiding a failed vertex: Near optimal data structures for undirected unweighted graphs. Algorithmica, 66(1):18–50, 2013.
  3. Aaron Bernstein. A nearly optimal algorithm for approximating replacement paths and k shortest simple paths in general graphs. In Proceedings of the Twenty-First Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’10, page 742–755, USA, 2010. Society for Industrial and Applied Mathematics.
  4. Compact and Fast Sensitivity Oracles for Single-Source Distances. In Piotr Sankowski and Christos Zaroliagis, editors, 24th Annual European Symposium on Algorithms (ESA 2016), volume 57 of Leibniz International Proceedings in Informatics (LIPIcs), pages 13:1–13:14, Dagstuhl, Germany, 2016. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik.
  5. Fault-tolerant approximate shortest-path trees. Algorithmica, 80(12):3437–3460, 2018.
  6. Near optimal algorithms for the single source replacement paths problem. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’19, page 2090–2109, USA, 2019. Society for Industrial and Applied Mathematics.
  7. Near Optimal Algorithm for the Directed Single Source Replacement Paths Problem. In Artur Czumaj, Anuj Dawar, and Emanuela Merelli, editors, 47th International Colloquium on Automata, Languages, and Programming (ICALP 2020), volume 168 of Leibniz International Proceedings in Informatics (LIPIcs), pages 81:1–81:17, Dagstuhl, Germany, 2020. Schloss Dagstuhl–Leibniz-Zentrum für Informatik.
  8. David Eppstein. Finding the k shortest paths. SIAM Journal on Computing, 28(2):652–673, 1998.
  9. 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.
  10. Multiple source replacement path problem. In Proceedings of the 39th Symposium on Principles of Distributed Computing, PODC ’20, page 339–348, New York, NY, USA, 2020. Association for Computing Machinery.
  11. Vickrey prices and shortest paths: What is an edge worth? In Proceedings 42nd IEEE symposium on foundations of computer science, pages 252–259. IEEE, 2001.
  12. On the difficulty of some shortest path problems. ACM Trans. Algorithms, 3(1), feb 2007.
  13. Finding the hidden path: Time bounds for all-pairs shortest paths. SIAM Journal on Computing, 22(6):1199–1217, 1993.
  14. Eugene L. Lawler. A procedure for computing the k best solutions to discrete optimization problems and its application to the shortest path problem. Manage. Sci., 18(7):401–405, mar 1972.
  15. Algorithmic mechanism design (extended abstract). In Proceedings of the Thirty-First Annual ACM Symposium on Theory of Computing, STOC ’99, page 129–140, New York, NY, USA, 1999. Association for Computing Machinery.
  16. Replacement paths and k simple shortest paths in unweighted directed graphs. ACM Trans. Algorithms, 8(4), oct 2012.
  17. Subcubic equivalences between path, matrix, and triangle problems. J. ACM, 65(5), aug 2018.
User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (4)
  1. Kaito Harada (1 paper)
  2. Naoki Kitamura (9 papers)
  3. Taisuke Izumi (30 papers)
  4. Toshimitsu Masuzawa (31 papers)