English

Max $s,t$-Flow Oracles and Negative Cycle Detection in Planar Digraphs

Data Structures and Algorithms 2023-11-03 v1

Abstract

We study the maximum s,ts,t-flow oracle problem on planar directed graphs where the goal is to design a data structure answering max s,ts,t-flow value (or equivalently, min s,ts,t-cut value) queries for arbitrary source-target pairs (s,t)(s,t). For the case of polynomially bounded integer edge capacities, we describe an exact max s,ts,t-flow oracle with truly subquadratic space and preprocessing, and sublinear query time. Moreover, if (1ϵ)(1-\epsilon)-approximate answers are acceptable, we obtain a static oracle with near-linear preprocessing and O~(n3/4)\tilde{O}(n^{3/4}) query time and a dynamic oracle supporting edge capacity updates and queries in O~(n6/7)\tilde{O}(n^{6/7}) worst-case time. To the best of our knowledge, for directed planar graphs, no (approximate) max s,ts,t-flow oracles have been described even in the unweighted case, and only trivial tradeoffs involving either no preprocessing or precomputing all the n2n^2 possible answers have been known. One key technical tool we develop on the way is a sublinear (in the number of edges) algorithm for finding a negative cycle in so-called dense distance graphs. By plugging it in earlier frameworks, we obtain improved bounds for other fundamental problems on planar digraphs. In particular, we show: (1) a deterministic O(nlog(nC))O(n\log(nC)) time algorithm for negatively-weighted SSSP in planar digraphs with integer edge weights at least C-C. This improves upon the previously known bounds in the important case of weights polynomial in nn, and (2) an improved O(nlogn)O(n\log{n}) bound on finding a perfect matching in a bipartite planar graph.

Keywords

Cite

@article{arxiv.2311.01094,
  title  = {Max $s,t$-Flow Oracles and Negative Cycle Detection in Planar Digraphs},
  author = {Adam Karczmarz},
  journal= {arXiv preprint arXiv:2311.01094},
  year   = {2023}
}

Comments

Extended abstract to appear in SODA 2024

R2 v1 2026-06-28T13:09:26.616Z