Connectivity Queries under Vertex Failures: Not Optimal, but Practical

05/02/2023
by   Evangelos Kosinas, et al.
0

We revisit once more the problem of designing an oracle for answering connectivity queries in undirected graphs in the presence of vertex failures. Specifically, given an undirected graph G with n vertices and m edges and an integer d_⋆≪ n, the goal is to preprocess the graph in order to construct a data structure 𝒟 such that, given a set of vertices F with |F|=d≤ d_⋆, we can derive an oracle from 𝒟 that can efficiently answer queries of the form "is x connected with y in G∖ F?". Very recently, Long and Saranurak (FOCS 2022) provided a solution to this problem that is almost optimal with respect to the preprocessing time, the space usage, the update time, and the query time. However, their solution is highly complicated, and it seems very difficult to be implemented efficiently. Furthermore, it does not settle the complexity of the problem in the regime where d_⋆ is a constant. Here, we provide a much simpler solution to this problem, that uses only textbook data structures. Our algorithm is deterministic, it has preprocessing time and space complexity O(d_⋆mlog n), update time O(d^4 log n), and query time O(d). These bounds compare very well with the previous best, especially considering the simplicity of our approach. In fact, if we assume that d_⋆ is a constant (d_⋆≥ 4), then our algorithm improves on the state-of-the-art in every respect, except space. Nevertheless, even our space usage in this case is almost linear. Finally, the data structure that we provide is flexible with respect to d_⋆: it can be adapted to increases and decreases, in time and space that are almost proportional to the change in d_⋆ and the size of the graph.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/08/2022

Near-Optimal Deterministic Vertex-Failure Connectivity Oracles

We revisit the vertex-failure connectivity oracle problem. This is one o...
research
01/02/2022

Optimal Vertex Connectivity Oracles

A k-vertex connectivity oracle for undirected G is a data structure that...
research
01/07/2021

Planar Reachability Under Single Vertex or Edge Failures

In this paper we present an efficient reachability oracle under single-e...
research
11/05/2021

Algorithms and data structures for first-order logic with connectivity under vertex failures

We introduce a new data structure for answering connectivity queries in ...
research
07/21/2023

Subset Sampling and Its Extensions

This paper studies the subset sampling problem. The input is a set 𝒮 of ...
research
07/07/2021

Space-Efficient Fault-Tolerant Diameter Oracles

We design f-edge fault-tolerant diameter oracles (f-FDOs). We preprocess...
research
09/17/2020

1D and 2D Flow Routing on a Terrain

An important problem in terrain analysis is modeling how water flows acr...

Please sign up or login with your details

Forgot password? Click here to reset