English

Sensitivity Oracles for All-Pairs Mincuts

Data Structures and Algorithms 2021-10-05 v2

Abstract

Let G=(V,E)G=(V,E) be an undirected unweighted graph on nn vertices and mm edges. We address the problem of sensitivity oracle for all-pairs mincuts in GG defined as follows. Build a compact data structure that, on receiving any pair of vertices s,tVs,t\in V and failure (or insertion) of any edge as query, can efficiently report the mincut between ss and tt after the failure (or the insertion). To the best of our knowledge, there exists no data structure for this problem which takes o(mn)o(mn) space and a non-trivial query time. We present the following results. - Our first data structure occupies O(n2){\cal O}(n^2) space and guarantees O(1){\cal O}(1) query time to report the value of resulting (s,t)(s,t)-mincut upon failure (or insertion) of any edge. Moreover, the set of vertices defining a resulting (s,t)(s,t)-mincut after the update can be reported in O(n){\cal O}(n) time which is worst-case optimal. - Our second data structure optimizes space at the expense of increased query time. It takes O(m){\cal O}(m) space -- which is also the space taken by GG. The query time is O(min(m,ncs,t)){\cal O}(\min(m,n c_{s,t})) where cs,tc_{s,t} is the value of the mincut between ss and tt in GG. This query time is faster by a factor of Ω(min(m1/3,n))\Omega(\min(m^{1/3},\sqrt{n})) compared to the best known deterministic algorithm to compute a (s,t)(s,t)-mincut from scratch. - If we are only interested in knowing if failure (or insertion) of an edge changes the value of (s,t)(s,t)-mincut, we can distribute our O(n2){\cal O}(n^2) space data structure evenly among nn vertices. For any failed (or inserted) edge we only require the data structures stored at its endpoints to determine if the value of (s,t)(s,t)-mincut has changed for any s,tVs,t \in V.

Keywords

Cite

@article{arxiv.2011.03291,
  title  = {Sensitivity Oracles for All-Pairs Mincuts},
  author = {Surender Baswana and Abhyuday Pandey},
  journal= {arXiv preprint arXiv:2011.03291},
  year   = {2021}
}
R2 v1 2026-06-23T19:57:32.678Z