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

有效列出有界长度st-路

Efficiently listing bounded length st-paths

Romeo Rizzi, Gustavo Sacomoto, Marie-France Sagot

摘要:

自20世纪60年代初以来,人们一直在研究在图中列出$K$最短简单(无环)$st$ -路径的问题。对于具有$n$顶点和$m$边的非负加权图,最有效的解决方案是Yen和Lawler [Management Science,1971和1972]针对有向图的$O(K(mn + n^2 \log n))$算法,以及Katoh等人[Networks,1982]针对无向图的$O(K(m+n \log n))$算法,两者都使用$O(Kn + m)$空间。在这项工作中,我们考虑一个不同的参数化这个问题:而不是绑定的$st$路径输出的数量,我们绑定它们的长度。对于有界长度参数化,我们提出了新的非平凡算法匹配的经典算法的时间复杂度,但只使用$O(m+n)$空间。此外,我们提供了一个统一的框架,使两个参数化的解决方案-经典的$K$ -最短和新的长度有界路径-可以被看作是两个不同的遍历同一棵树,一个Dijkstra样和DFS样遍历,分别。

英文摘要:

The problem of listing the $K$ shortest simple (loopless) $st$-paths in a graph has been studied since the early 1960s. For a non-negatively weighted graph with $n$ vertices and $m$ edges, the most efficient solution is an $O(K(mn + n^2 \log n))$ algorithm for directed graphs by Yen and Lawler [Management Science, 1971 and 1972], and an $O(K(m+n \log n))$ algorithm for the undirected version by Katoh et al. [Networks, 1982], both using $O(Kn + m)$ space. In this work, we consider a different parameterization for this problem: instead of bounding the number of $st$-paths output, we bound their length. For the bounded length parameterization, we propose new non-trivial algorithms matching the time complexity of the classic algorithms but using only $O(m+n)$ space. Moreover, we provide a unified framework such that the solutions to both parameterizations -- the classic $K$-shortest and the new length-bounded paths -- can be seen as two different traversals of a same tree, a Dijkstra-like and a DFS-like traversal, respectively.

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

↑