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

preprint2012arXivOpen access

Abstract

For two vertices ss and tt in a graph G=(V,E)G=(V,E), the next-to-shortest path is an stst-path which length is minimum amongst all stst-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 ss and tt to all other vertices are given. This result generalizes the previous work (DOI 10.1007/s00453-011-9601-7) to allowing zero-length edges.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.