Options
Average-Case Behavior of k-Shortest Path Algorithms
Date Issued
2018-12-02
Date Available
2019-04-10T10:58:01Z
Abstract
The k-shortest path problem is a generalization of the fundamental shortest path problem, where the goal is to compute k simple paths from a given source to a target node, in non-decreasing order of their weight. With numerous applications modeling various optimization problems and as a feature in some learning systems, there is a need for efficient algorithms for this problem. Unfortunately, despite many decades of research, the best directed graph algorithm still has a worst-case asymptotic complexity of Õ(k n(n + m)). In contrast to the worst-case complexity, many algorithms have been shown to perform well on small diameter directed graphs in practice. In this paper, we prove that the average-case complexity of the popular Yen’s algorithm on directed random graphs with edge probability p = Ω(log n)/n in the unweighted and uniformly distributed weight setting is O(kmlog n), thus explaining the gap between the worst-case complexity and observed empirical performance. While we also provide a weaker bound of O(kmlog4 n) for sparser graphs with p ≥ 4/n, we show empirical evidence that the stronger bound should also hold in the sparser setting. We then prove that Feng’s directed k-shortest path algorithm computes the second shortest path in expected O(m) time on random graphs with edge probability p = Ω(log n)/n. Empirical evidence suggests that the average-case result for the Feng's algorithm holds even for k > 2 and sparser graphs.
Type of Material
Conference Publication
Publisher
Springer
Series
Studies in Computational Intelligence
812
Copyright (Published Version)
2019 Springer
Web versions
Language
English
Status of Item
Peer reviewed
Conference Details
The 7th International Conference on Complex Networks and Their Applications, Cambridge, United Kingdom, 11-13 December 2018
ISBN
9783030054106
ISSN
1860-949X
This item is made available under a Creative Commons License
File(s)
No Thumbnail Available
Name
ajwani_complex_networks18.pdf
Size
559.17 KB
Format
Adobe PDF
Checksum (MD5)
da8c892ac1f7846855c9b89eacda0a50
Owning collection