
doi: 10.1002/net.20077
handle: 10945/38184
Summary: We present a new algorithm for enumerating all near-shortest simple (loopless) \(s\)-\(t\) paths in a graph \(G=(V,E)\) with nonnegative edge lengths. Letting \(n=|V|\) and \(m=|E|\), the time per path enumerated is \(O(nS(n,m))\) given a user-selected short-est-path subroutine with complexity \(O(S(n,m))\). When coupled with binary search, this algorithm solves the corresponding \(K\)-shortest paths problem (KSPR) in \(O(KnS (n,m)(\log n+\log c_{\max}))\) time, where \(c_{\max}\) is the largest edge length. This time complexity is inferior to some other algorithms, but the space complexity is the best available at \(O(m)\). Both algorithms are easy to describe, to implement and to extend to more general classes of graphs. In computational tests on grid and road networks, our best polynomial-time algorithm for KSPR appears to be at least an order of magnitude faster than the best algorithm from the literature. However, we devise a simpler algorithm, with exponential worst-case complexity, that is several orders of magnitude faster yet on those test problems. A minor variant on this algorithm also solves ``KSPU,'' which is analogous to KSPR but with loops allowed.
path enumeration, K-shortest paths; near-shortest paths; path enumeration, Graph theory (including graph drawing) in computer science, Graph algorithms (graph-theoretic aspects), Paths and cycles
path enumeration, K-shortest paths; near-shortest paths; path enumeration, Graph theory (including graph drawing) in computer science, Graph algorithms (graph-theoretic aspects), Paths and cycles
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 47 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Top 10% | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Top 10% | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
