Affiliation:
1. Université Côte d’Azur, Inria, CNRS, I3S, France
Abstract
The
k
shortest simple path problem (
k
SSP) asks to compute a set of top-
k
shortest simple paths from a source to a sink in a digraph. Yen (1971) proposed an algorithm with the best-known polynomial time complexity for this problem. Since then, the problem has been widely studied from an algorithm engineering perspective. The most noticeable proposals are the
node-classification
(NC) algorithm (Feng, 2014) and the
sidetracks-based
(SB) algorithm (Kurz, Mutzel, 2016). The latest offers the best running time at the price of a significant memory consumption.
We first show how to speed up the SB algorithm using dynamic updates of shortest path trees resulting in a faster algorithm (SB*) with the same memory consumption. We then propose the
parsimonious SB
(PSB) algorithm that significantly reduces the memory consumption of SB at the cost of a small increase of the running time. Furthermore, we propose the
postponed node-classification
(PNC) algorithm that combines the best of the NC and the SB algorithms. It offers a significant speed up compared to the SB algorithm while using the same amount of memory as the NC algorithm.
Our experimental results on complex networks show that all the considered algorithms have low memory consumption, and that the PSB algorithm is the fastest. On road networks, the relative performances of the algorithms depend on the number
k
of requested paths. Indeed, when the number
k
of requested paths is small (i.e.,
k
≤ 20 in our experiments), the SB* algorithm is the fastest among the considered algorithms, but it suffers from a large memory consumption and it offers very bad performances on some queries. When the number of requested paths is large (i.e., larger than 20 according to our experiments), the PNC algorithm is the fastest among the considered algorithms on road networks and it has a low memory footprint. The PNC algorithm is therefore a better choice on road networks.
Publisher
Association for Computing Machinery (ACM)
Subject
Theoretical Computer Science
Reference37 articles.
1. Ali Al Zoobi, David Coudert, and Nicolas Nisse. 2021. k Shortest Simple Paths (Version 2.0). Retrieved from https://gitlab.inria.fr/dcoudert/k-shortest-simple-paths
2. Metabolic reconstruction using shortest paths
3. Route Planning in Transportation Networks
4. M. Betz and H. Hild. 1995. Language models for a spelled letter recognizer. In Proceedings of the International Conference on Acoustics, Speech, and Signal Processing, Vol. 1. IEEE, 856–859. DOI:10.1109/ICASSP.1995.479829
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献