Abstract
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_โ m log n), update time O(dโด 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 provides some tradeoffs that improve the state of the art in some respects. 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.
BibTeX  Entry
@InProceedings{kosinas:LIPIcs.ESA.2023.75,
author = {Kosinas, Evangelos},
title = {{Connectivity Queries Under Vertex Failures: Not Optimal, but Practical}},
booktitle = {31st Annual European Symposium on Algorithms (ESA 2023)},
pages = {75:175:13},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {9783959772952},
ISSN = {18688969},
year = {2023},
volume = {274},
editor = {G{\o}rtz, Inge Li and FarachColton, Martin and Puglisi, Simon J. and Herman, Grzegorz},
publisher = {Schloss Dagstuhl  LeibnizZentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/opus/volltexte/2023/18728},
URN = {urn:nbn:de:0030drops187289},
doi = {10.4230/LIPIcs.ESA.2023.75},
annote = {Keywords: Graphs, Connectivity, FaultTolerant, Oracles}
}
Keywords: 

Graphs, Connectivity, FaultTolerant, Oracles 
Collection: 

31st Annual European Symposium on Algorithms (ESA 2023) 
Issue Date: 

2023 
Date of publication: 

30.08.2023 