arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.07874cs.DScs.IR
收藏

空间有效的广度-深度搜索算法

Space Efficient Algorithms for Breadth-Depth Search

Sankardeep Chakraborty, Anish Mukherjee, Srinivasa Rao Satti

摘要:

继续最近的趋势,在这篇文章中,我们设计了几个空间有效的算法,两个著名的图搜索方法。这两种搜索方法共享相同的名称{ \it广度-深度搜索}(以下简称{ \sf BDS}),尽管它们以完全不同的方式工作。这些图搜索方法的经典实现在标准字RAM模型(字大小为$Θ(\lg n)$位)中占用$O(m+n)$时间和空间的$O(n \lg n)$位,其中$m$和$n$分别表示输入图的边和顶点的数目。我们的目标是克服经典实现的空间限制,并为这些搜索方法设计$o(n \lg n)$空间算法,在运行时间上几乎不付出代价。请注意,我们的空间边界(即,具有$o(n \lg n)$位空间)甚至不允许我们显式地存储实现经典算法所需的信息,然而我们的算法以正确的顺序访问并报告输入图的所有顶点。

英文摘要:

Continuing the recent trend, in this article we design several space-efficient algorithms for two well-known graph search methods. Both these search methods share the same name {\it breadth-depth search} (henceforth {\sf BDS}), although they work entirely in different fashion. The classical implementation for these graph search methods takes $O(m+n)$ time and $O(n \lg n)$ bits of space in the standard word RAM model (with word size being $Θ(\lg n)$ bits), where $m$ and $n$ denotes the number of edges and vertices of the input graph respectively. Our goal here is to beat the space bound of the classical implementations, and design $o(n \lg n)$ space algorithms for these search methods by paying little to no penalty in the running time. Note that our space bounds (i.e., with $o(n \lg n)$ bits of space) do not even allow us to explicitly store the required information to implement the classical algorithms, yet our algorithms visits and reports all the vertices of the input graph in correct order.

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

↑