English

An Optimal $3$-Fault-Tolerant Connectivity Oracle

Data Structures and Algorithms 2025-04-28 v1

Abstract

We present an optimal oracle for answering connectivity queries in undirected graphs in the presence of at most three vertex failures. Specifically, we show that we can process a graph GG in O(n+m)O(n+m) time, in order to build a data structure that occupies O(n)O(n) space, which can be used in order to answer queries of the form "given a set FF of at most three vertices, and two vertices xx and yy not in FF, are xx and yy connected in GFG\setminus F?" in constant time, where nn and mm denote the number of vertices and edges, respectively, of GG. The idea is to rely on the DFS-based framework introduced by Kosinas [ESA'23], for handling connectivity queries in the presence of multiple vertex failures. Our technical contribution is to show how to appropriately extend the toolkit of the DFS-based parameters, in order to optimally handle up to three vertex failures. Our approach has the interesting property that it does not rely on a compact representation of vertex cuts, and has the potential to provide optimal solutions for more vertex failures. Furthermore, we show that the DFS-based framework can be easily extended in order to answer vertex-cut queries, and the number of connected components in the presence of multiple vertex failures. In the case of three vertex failures, we can answer such queries in O(logn)O(\log n) time.

Keywords

Cite

@article{arxiv.2504.17937,
  title  = {An Optimal $3$-Fault-Tolerant Connectivity Oracle},
  author = {Evangelos Kosinas},
  journal= {arXiv preprint arXiv:2504.17937},
  year   = {2025}
}

Comments

Accepted at ICALP'25