A linear time algorithm for the next-to-shortest path problem on undirected graphs with nonnegative edge lengths
Data Structures and Algorithms
2012-03-26 v1
Abstract
For two vertices and in a graph , the next-to-shortest path is an -path which length is minimum amongst all -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 and to all other vertices are given. This result generalizes the previous work (DOI 10.1007/s00453-011-9601-7) to allowing zero-length edges.
Cite
@article{arxiv.1203.5235,
title = {A linear time algorithm for the next-to-shortest path problem on undirected graphs with nonnegative edge lengths},
author = {Bang Ye Wu and Jun-Lin Guo and Yue-Li Wang},
journal= {arXiv preprint arXiv:1203.5235},
year = {2012}
}