## Finding the k Shortest Paths (1997)

### Cached

### Download Links

- [www.ics.uci.edu]
- [www.ics.uci.edu]
- [www.ics.uci.edu]
- [www.sm.luth.se]
- DBLP

### Other Repositories/Bibliography

Citations: | 289 - 1 self |

### BibTeX

@MISC{Eppstein97findingthe,

author = {David Eppstein},

title = {Finding the k Shortest Paths},

year = {1997}

}

### Years of Citing Articles

### OpenURL

### Abstract

We give algorithms for finding the k shortest paths (not required to be simple) connecting a pair of vertices in a digraph. Our algorithms output an implicit representation of these paths in a digraph with n vertices and m edges, in time O(m + n log n + k). We can also find the k shortest paths from a given source s to each vertex in the graph, in total time O(m + n log n +kn). We describe applications to dynamic programming problems including the knapsack problem, sequence alignment, maximum inscribed polygons, and genealogical relationship discovery. 1 Introduction We consider a long-studied generalization of the shortest path problem, in which not one but several short paths must be produced. The k shortest paths problem is to list the k paths connecting a given source-destination pair in the digraph with minimum total length. Our techniques also apply to the problem of listing all paths shorter than some given threshhold length. In the version of these problems studi...