The next-to-shortest path in undirected graphs with nonnegative weights

  • Authors:
  • Cong Zhang;Hiroshi Nagamochi

  • Affiliations:
  • Kyoto University, Yoshida Honmachi, Sakyo, Kyoto, Japan;Kyoto University, Yoshida Honmachi, Sakyo, Kyoto, Japan

  • Venue:
  • CATS '12 Proceedings of the Eighteenth Computing: The Australasian Theory Symposium - Volume 128
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Given an edge-weighted undirected graph and two vertices s and t, the next-to-shortest path problem is to find an st-path whose length is minimum among all st-paths of lengths strictly larger than the shortest path length. The problem is shown to be polynomially solvable if all edge weights are positive, while the complexity status for the nonnegative weight case was open. In this paper we show that the problem in undirected graphs admits a polynomial-time algorithm even if all edge weights are nonnegative, solving the open problem. To solve the problem, we introduce a common generalization of the undirected graph version and the acyclic digraph version of the k vertex-disjoint paths problem.