arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.07871cs.DScs.IRcs.SI
收藏

索引图搜索树及其应用

Indexing Graph Search Trees and Applications

Sankardeep Chakraborty, Kunihiko Sadakane

摘要:

我们考虑紧凑地表示具有$n$顶点和$m$边的给定无向或有向图的深度优先搜索(DFS)树的问题,同时在具有对数字大小的RAM中有效地支持各种与深度优先搜索相关的查询。我们研究了两个著名的模型:{ \it索引}和{ \it编码}模型。虽然使用额外空间的$O(n \lg n)$位\footnote{We use $\lg$ to denote logarithm to the base $2$.}可以在恒定时间内轻松支持大多数查询,但更具体地说,我们这里的目标是克服这个微不足道的$O(n \lg n)$位空间限制,但又不会在这些查询的运行时间上牺牲太多。在{ \it索引}模型中,我们解的空间上界涉及到数量$m$,因此,我们分别得到了稀疏图和稠密图的不同上界。在{ \it encoding}模型中,我们首先给出一个空间下界,其次是一个几乎最优的数据结构,具有极快的查询时间。我们的算法的核心是一个分区的DFS树连接的子树,和一个紧凑的方式来存储这些连接。最后,我们还将这些技术应用于最短路径结构、双连通性结构等的紧索引。

英文摘要:

We consider the problem of compactly representing the Depth First Search (DFS) tree of a given undirected or directed graph having $n$ vertices and $m$ edges while supporting various DFS related queries efficiently in the RAM with logarithmic word size. We study this problem in two well-known models: {\it indexing} and {\it encoding} models. While most of these queries can be supported easily in constant time using $O(n \lg n)$ bits\footnote{We use $\lg$ to denote logarithm to the base $2$.} of extra space, our goal here is, more specifically, to beat this trivial $O(n \lg n)$ bit space bound, yet not compromise too much on the running time of these queries. In the {\it indexing} model, the space bound of our solution involves the quantity $m$, hence, we obtain different bounds for sparse and dense graphs respectively. In the {\it encoding} model, we first give a space lower bound, followed by an almost optimal data structure with extremely fast query time. Central to our algorithm is a partitioning of the DFS tree into connected subtrees, and a compact way to store these connections. Finally, we also apply these techniques to compactly index the shortest path structure, biconnectivity structures among others.

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

↑