arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.01756cs.DS
收藏

顶点故障下的连通性查询:非最优,但实用

Connectivity Queries under Vertex Failures: Not Optimal, but Practical

Evangelos Kosinas

AI总结:

针对顶点故障下的连通性查询问题,提出一个仅用教科书级数据结构、确定性且预处理时间与空间为O(d* m log n)的简单实用方案,在常数d*下提供改进权衡,并支持d*动态调整。

摘要:

我们再次研究在顶点故障情况下,为无向图设计一个用于回答连通性查询的预言机的问题。具体来说,给定一个具有 $n$ 个顶点和 $m$ 条边的无向图 $G$,以及一个整数 $d_{\star}\ll n$,目标是对图进行预处理,以构建一个数据结构 $\mathcal{D}$,使得给定一个顶点集合 $F$(其中 $|F|=d\leq d_{\star}$),我们可以从 $\mathcal{D}$ 中导出一个预言机,该预言机能够高效地回答形如“在 $G\setminus F$ 中,$x$ 是否与 $y$ 连通?”的查询。最近,Long 和 Saranurak(FOCS 2022)针对此问题提供了一种解决方案,该方案在预处理时间、空间使用、更新时间和查询时间方面几乎是最优的。然而,他们的解决方案高度复杂,似乎很难被高效实现。此外,该方案并未解决在 $d_{\star}$ 为常数的情况下问题的复杂度。在此,我们为这个问题提供了一个简单得多的解决方案,仅使用教科书级别的数据结构。我们的算法是确定性的,其预处理时间和空间复杂度为 $O(d_{\star}m\log n)$,更新时间为 $O(d^4 \log n)$,查询时间为 $O(d)$。这些界限与之前的最佳结果相比非常有竞争力,尤其是考虑到我们方法的简单性。事实上,如果我们假设 $d_{\star}$ 是一个常数($d_{\star}\geq 4$),那么我们的算法提供了一些权衡,在某些方面改进了现有技术水平。最后,我们提供的数据结构在 $d_{\star}$ 方面是灵活的:它可以适应 $d_{\star}$ 的增加和减少,其时间和空间几乎与 $d_{\star}$ 的变化量及图的大小成正比。

英文摘要:

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_{\star}\ll n$, the goal is to preprocess the graph in order to construct a data structure $\mathcal{D}$ such that, given a set of vertices $F$ with $|F|=d\leq d_{\star}$, we can derive an oracle from $\mathcal{D}$ that can efficiently answer queries of the form ''is $x$ connected with $y$ in $G\setminus 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_{\star}$ 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_{\star}m\log 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_{\star}$ is a constant ($d_{\star}\geq 4$), then our algorithm provides some trade-offs that improve the state of the art in some respects. Finally, the data structure that we provide is flexible with respect to $d_{\star}$: it can be adapted to increases and decreases, in time and space that are almost proportional to the change in $d_{\star}$ and the size of the graph.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑