English

Sensitive Distance and Reachability Oracles for Large Batch Updates

Data Structures and Algorithms 2019-07-23 v2

Abstract

In the sensitive distance oracle problem, there are three phases. We first preprocess a given directed graph GG with nn nodes and integer weights from [W,W][-W,W]. Second, given a single batch of ff edge insertions and deletions, we update the data structure. Third, given a query pair of nodes (u,v)(u,v), return the distance from uu to vv. In the easier problem called sensitive reachability oracle problem, we only ask if there exists a directed path from uu to vv. Our first result is a sensitive distance oracle with O~(Wnω+(3ω)μ)\tilde{O}(Wn^{\omega+(3-\omega)\mu}) preprocessing time, O~(Wn2μf2+Wnfω)\tilde{O}(Wn^{2-\mu}f^{2}+Wnf^{\omega}) update time, and O~(Wn2μf+Wnf2)\tilde{O}(Wn^{2-\mu}f+Wnf^{2}) query time where the parameter μ[0,1]\mu\in[0,1] can be chosen. The data-structure requires O(Wn2+μlogn)O(Wn^{2+\mu} \log n) bits of memory. This is the first algorithm that can handle flognf\ge\log n updates. Previous results (e.g. [Demetrescu et al. SICOMP'08; Bernstein and Karger SODA'08 and FOCS'09; Duan and Pettie SODA'09; Grandoni and Williams FOCS'12]) can handle at most 2 updates. When 3flogn3\le f\le\log n, the only non-trivial algorithm was by [Weimann and Yuster FOCS'10]. When W=O~(1)W=\tilde{O}(1), our algorithm simultaneously improves their preprocessing time, update time, and query time. In particular, when f=ω(1)f=\omega(1), their update and query time is Ω(n2o(1))\Omega(n^{2-o(1)}), while our update and query time are truly subquadratic in nn, i.e., ours is faster by a polynomial factor of nn. To highlight the technique, ours is the first graph algorithm that exploits the kernel basis decomposition of polynomial matrices by [Jeannerod and Villard J.Comp'05; Zhou, Labahn and Storjohann J.Comp'15] developed in the symbolic computation community. [...]

Keywords

Cite

@article{arxiv.1907.07982,
  title  = {Sensitive Distance and Reachability Oracles for Large Batch Updates},
  author = {Jan van den Brand and Thatchaphol Saranurak},
  journal= {arXiv preprint arXiv:1907.07982},
  year   = {2019}
}

Comments

To appear in FOCS 2019

R2 v1 2026-06-23T10:24:10.962Z