Table of Contents
Fetching ...

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

Kaito Harada, Naoki Kitamura, Taisuke Izumi, Toshimitsu Masuzawa

TL;DR

The paper addresses single-source replacement path under vertex faults by introducing a deterministic construction of a (1+ε)-approximate VSDO for directed weighted graphs with polynomially bounded weights, achieving near-linear construction time and polylogarithmic query time. The core method combines centroid-based divide-and-conquer with progressive Dijkstra, building three interdependent sub-oracles (G1, G2, and a first-case DP-like component) in a recursive framework that preserves correctness while avoiding explicit SSRP computation. The result yields an oracle of size O(ε^{-1} n log^3 n log(nW)) with construction time O(ε^{-1} log^4 n log(nW) (m + n ε^{-1} log^3 n log(nW))) and query time O(log^2 n log(ε^{-1} log(nW))), enabling efficient (1+ε)-approximate SSRP in near-linear time and breaking previous mn-based lower bounds under approximation. This advances fault-tolerant path computation with practical implications for dynamic, reliability-critical networks and large-scale graph analysis under uncertainty.

Abstract

An \emph{$α$-approximate vertex fault-tolerant distance sensitivity oracle} (\emph{$α$-VSDO}) for a weighted input graph $G=(V, E, w)$ and a source vertex $s \in V$ is the data structure answering an $α$-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 + ε)$-VSDO for any directed input graph with polynomially bounded integer edge weights. More precisely, the presented oracle attains $\tilde{O}(m \log (nW)/ ε+ n \log^2 (nW)/ε^2)$ construction time, $\tilde{O}(n \log (nW) / ε)$ size, and $\tilde{O}(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 $\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.

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

TL;DR

The paper addresses single-source replacement path under vertex faults by introducing a deterministic construction of a (1+ε)-approximate VSDO for directed weighted graphs with polynomially bounded weights, achieving near-linear construction time and polylogarithmic query time. The core method combines centroid-based divide-and-conquer with progressive Dijkstra, building three interdependent sub-oracles (G1, G2, and a first-case DP-like component) in a recursive framework that preserves correctness while avoiding explicit SSRP computation. The result yields an oracle of size O(ε^{-1} n log^3 n log(nW)) with construction time O(ε^{-1} log^4 n log(nW) (m + n ε^{-1} log^3 n log(nW))) and query time O(log^2 n log(ε^{-1} log(nW))), enabling efficient (1+ε)-approximate SSRP in near-linear time and breaking previous mn-based lower bounds under approximation. This advances fault-tolerant path computation with practical implications for dynamic, reliability-critical networks and large-scale graph analysis under uncertainty.

Abstract

An \emph{-approximate vertex fault-tolerant distance sensitivity oracle} (\emph{-VSDO}) for a weighted input graph and a source vertex is the data structure answering an -approximate distance from to in for any given query . 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 -VSDO for any directed input graph with polynomially bounded integer edge weights. More precisely, the presented oracle attains construction time, size, and query time, where is the number of vertices, is the number of edges, and 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 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.
Paper Structure (17 sections, 25 theorems, 4 equations, 13 figures, 2 tables, 3 algorithms)

This paper contains 17 sections, 25 theorems, 4 equations, 13 figures, 2 tables, 3 algorithms.

Key Result

Theorem 1

Given any directed graph $G$ with edge weights in range $[1, W]$, a source vertex $s \in V(G)$, and a constant $\epsilon \in (0, 1]$, there exists a deterministic algorithm of constructing a $(1+\epsilon)$-VSDO of size $O(\epsilon^{-1} n \log^3 n \cdot \log (nW))$. The construction time and the quer

Figures (13)

  • Figure 1: Case1
  • Figure 2: Case2
  • Figure 3: Case3
  • Figure 5: departing path
  • Figure 6: jumping path
  • ...and 8 more figures

Theorems & Definitions (29)

  • Theorem 1
  • Definition 2: $(1+\epsilon)$-VSDO
  • Definition 3: $Q$-faulty $(1+\epsilon_1)$-VSDO
  • Definition 4
  • Definition 5: DP-Oracle
  • Lemma 6
  • Lemma 7
  • Lemma 8
  • Lemma 9
  • Lemma 10
  • ...and 19 more