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

节点连通性与割查询的数据结构

Data structure for node connectivity and cut queries

Zeev Nutov

AI总结:

本文提出一种紧凑数据结构,支持无向图中 $k$-有界节点连通性查询和最小割查询,在 $O(kn)$ 空间内实现 $O(1)$ 查询时间,并推广了 Pettie-Yin 的结果。

摘要:

设 $\kappa(s,t)$ 表示无向图 $G$ 中内部不相交的 $st$-路径的最大数目。我们考虑设计一种紧凑的数据结构,用于回答 $k$-有界节点连通性查询:给定 $s,t \in V$,返回 $\min\{\kappa(s,t),k+1\}$。一个平凡的数据结构具有 $O(n^2)$ 的空间和 $O(1)$ 的查询时间。Hsu 和 Lu 的数据结构具有 $O(k^2n)$ 的空间和 $O(\log k)$ 的查询时间,而 Iszak 和 Nutov 的随机化数据结构具有 $O(kn\log n)$ 的空间和 $O(k \log n)$ 的查询时间。我们将 Hsu-Lu 数据结构扩展为在 $O(1)$ 时间内回答查询。与我们的工作并行,Pettie、Saranurak 和 Yin 将 Iszak-Nutov 数据结构扩展为在 $O(\log n)$ 时间内回答查询。对于 $k<\log n$,我们的数据结构更紧凑,且我们的查询时间总是更优。\n\n然后,我们通过一个割列表增强我们的数据结构,使得当 $\kappa(s,t) \leq k$ 时,能够返回指向列表中最小 $st$-割(或大小为 $\leq k$ 的割)的指针。一个平凡的数据结构具有 $n(n-1)/2$ 的割列表大小和 $O(1)$ 的割查询时间,而 Pettie、Saranurak 和 Yin 的数据结构具有 $O(kn \log n)$ 的列表大小和 $O(\log n)$ 的割查询时间。我们证明 $O(kn)$ 个割足以返回大小为 $\leq k$ 的 $st$-割,且包含 $O(k^2 n)$ 个割的列表包含每个 $s,t \in V$ 的最小 $st$-割。\n\n在 $S$ 是节点子集且对所有 $s,t \in V$ 有 $\kappa(s,t) \geq k$ 的情况下,我们证明 $3|S|$ 个割就足够了,并且这些割可以划分为 $O(k)$ 个层状族。因此,使用 $O(kn)$ 的空间,我们可以在 $O(1)$ 时间内回答 $s,t \in S$ 的每个连通性和割查询,推广并大幅简化了 Pettie 和 Yin 关于 $|S|=V$ 情况的结果的证明。

英文摘要:

Let $κ(s,t)$ denote the maximum number of internally disjoint $st$-paths in an undirected graph $G$. We consider designing a compact data structure that answers $k$-bounded node connectivity queries: given $s,t \in V$ return $\min\{κ(s,t),k+1\}$. A trivial data structure has space $O(n^2)$ and query time $O(1)$. A data structure of Hsu and Lu has space $O(k^2n)$ and query time $O(\log k)$,and a randomized data structure of Iszak and Nutov has space $O(kn\log n)$ and query time $O(k \log n)$. We extend the Hsu-Lu data structure to answer queries in time $O(1)$. In parallel to our work, Pettie, Saranurak and Yin extended the Iszak-Nutov data structure to answer queries in time $O(\log n)$. Our data structure is more compact for $k<\log n$, and our query time is always better. We then augment our data structure by a list of cuts that enables to return a pointer to a minimum $st$-cut in the list (or to a cut of size $\leq k$) whenever $κ(s,t) \leq k$. A trivial data structure has cut list size $n(n-1)/2$, and cut query time $O(1)$, while the Pettie, Saranurak and Yin data structure has list size $O(kn \log n)$ and cut query time $O(\log n)$. We show that $O(kn)$ cuts suffice to return an $st$-cut of size $\leq k$, and a list of $O(k^2 n)$ cuts contains a minimum $st$-cut for every $s,t \in V$. In the case when $S$ is a node subset with $κ(s,t) \geq k$ for all $s,t \in V$, we show that $3|S|$ cuts suffice, and that these cuts can be partitioned into $O(k)$ laminar families. Thus using space $O(kn)$ we can answers each connectivity and cut queries for $s,t \in S$ in $O(1)$ time, generalizing and substantially simplifying the proof of a result of Pettie and Yin for the case $|S|=V$.

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

↑