arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1203.5235cs.DS
收藏

非负边长无向图次短路问题的线性时间算法

A linear time algorithm for the next-to-shortest path problem on undirected graphs with nonnegative edge lengths

Bang Ye Wu, Jun-Lin Guo, Yue-Li Wang

摘要:

对于图$G=(V,E)$中的两个顶点$s$和$t$,次短路是一条$st$ -路,它的长度是严格长于最短路长度的所有$st$-路中最小的。在本文中,我们证明了,当图是无向的,所有的边长是非负的,可以在线性时间内解决的问题,如果从$s$和$t$到所有其他顶点的距离是给定的。该结果将之前的工作(DOI 10.1007/s 00453 -011-9601-7)推广到允许零长度边。

英文摘要:

For two vertices $s$ and $t$ in a graph $G=(V,E)$, the next-to-shortest path is an $st$-path which length is minimum amongst all $st$-paths strictly longer than the shortest path length. In this paper we show that, when the graph is undirected and all edge lengths are nonnegative, the problem can be solved in linear time if the distances from $s$ and $t$ to all other vertices are given. This result generalizes the previous work (DOI 10.1007/s00453-011-9601-7) to allowing zero-length edges.

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

↑