arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1601.02867cs.DS
收藏

基于侧轨的有向图k条最短简单路算法

A Sidetrack-Based Algorithm for Finding the k Shortest Simple Paths in a Directed Graph

Denis Kurz, Petra Mutzel

摘要:

我们提出了一个算法的k最短简单路径问题的加权有向图(kSSP)的基础上,Eppstein的算法类似的问题,其中路径被允许包含循环。与大多数其他kSSP算法相比,我们的算法不是基于Yen的算法,也不解决替换路径问题。其最坏情况下的运行时间与kSSP的最先进算法相当。使用我们的算法,可以找到O(m)简单的路径与一个单一的最短路径树的计算和O(n + m)的额外时间在良好的情况下,每条路径,其中n是节点的数量和m是边缘的数量。我们的计算结果表明,在随机图和大型道路网络上,这些表现良好的情况非常常见,并且我们的算法比现有算法快一个数量级。此外,由于非常小的分散,运行时间更好地可预测。

英文摘要:

We present an algorithm for the k shortest simple path problem on weighted directed graphs (kSSP) that is based on Eppstein's algorithm for a similar problem in which paths are allowed to contain cycles. In contrast to most other algorithms for kSSP, ours is not based on Yen's algorithm and does not solve replacement path problems. Its worst-case running time is on par with state-of-the-art algorithms for kSSP. Using our algorithm, one may find O(m) simple paths with a single shortest path tree computation and O(n + m) additional time per path in well-behaved cases, where n is the number of nodes and m is the number of edges. Our computational results show that on random graphs and large road networks, these well-behaved cases are quite common and our algorithm is faster than existing algorithms by an order of magnitude. Further, the running time is far better predictable due to very small dispersion.

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

↑