{"id":"arxiv:1203.5235","kind":"preprint","title":"A linear time algorithm for the next-to-shortest path problem on undirected graphs with nonnegative edge lengths","authors":["Bang Ye Wu","Jun-Lin Guo","Yue-Li Wang"],"author_count":3,"year":2012,"published":"2012-03-23","venue":null,"cited_by":null,"doi":null,"arxiv_id":"1203.5235","nct_id":null,"source_url":"https://arxiv.org/abs/1203.5235","archive_url":"https://space-kitty.com/papers/arxiv:1203.5235","updated":"2012-03-23","pmid":null,"pmcid":null,"openalex_id":null,"pdf_url":"https://arxiv.org/pdf/1203.5235","abstract":"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.","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":false,"retracted":false,"peer_reviewed":false,"categories":["cs.DS"],"details":null,"provenance":"arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[],"cited_in_dossiers":[]}