English

Improved Distance Sensitivity Oracles with Subcubic Preprocessing Time

Data Structures and Algorithms 2021-09-03 v2

Abstract

We consider the problem of building Distance Sensitivity Oracles (DSOs). Given a directed graph G=(V,E)G=(V, E) with edge weights in {1,2,,M}\{1, 2, \dots, M\}, we need to preprocess it into a data structure, and answer the following queries: given vertices u,vVu,v\in V and a failed vertex or edge f(VE)f\in (V\cup E), output the length of the shortest path from uu to vv that does not go through ff. Our main result is a simple DSO with O~(n2.7233M)\tilde{O}(n^{2.7233}M) preprocessing time and O(1)O(1) query time. Moreover, if the input graph is undirected, the preprocessing time can be improved to O~(n2.6865M)\tilde{O}(n^{2.6865}M). The preprocessing algorithm is randomized with correct probability 11/nC\ge 1-1/n^C, for a constant CC that can be made arbitrarily large. Previously, there is a DSO with O~(n2.8729M)\tilde{O}(n^{2.8729}M) preprocessing time and polylog(n)\operatorname{polylog}(n) query time [Chechik and Cohen, STOC'20]. At the core of our DSO is the following observation from [Bernstein and Karger, STOC'09]: if there is a DSO with preprocessing time PP and query time QQ, then we can construct a DSO with preprocessing time P+O~(n2)QP+\tilde{O}(n^2)\cdot Q and query time O(1)O(1). (Here O~()\tilde{O}(\cdot) hides polylog(n)\operatorname{polylog}(n) factors.)

Keywords

Cite

@article{arxiv.2007.11495,
  title  = {Improved Distance Sensitivity Oracles with Subcubic Preprocessing Time},
  author = {Hanlin Ren},
  journal= {arXiv preprint arXiv:2007.11495},
  year   = {2021}
}

Comments

journal version

R2 v1 2026-06-23T17:19:11.602Z