计算机科学 > 数据结构与算法
[提交于 2012年3月23日]
标题:A linear time algorithm for the next-to-shortest path problem on undirected graphs with nonnegative edge lengths
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Bang Ye Wu[v1] 2012年3月23日 星期五 13:33:47 UTC