K∗: A Directed On-The-Fly Algorithm for Finding the k Shortest Paths
K∗: A Directed On-The-Fly Algorithm for Finding the k Shortest Paths
复制标题
K*:一种用于查找 k 最短路径的定向即时算法
DOI:
--
复制
发表时间:
2008
期刊:
影响因子:
--
通讯作者:
S. Leue
中科院分区:
文献类型:
--
作者:
Husain Aljazzar;S. Leue
We present a new algorithm, called K � , for finding the k shortest paths between a designated pair of ver- tices in a given directed weighted graph. Compared to Eppstein's algorithm, which is the most prominent algorithm for solving this problem, Khas two advan- tages. First, Kperforms on-the-fly, which means that it does not require the graph to be explicitly available and stored in main memory. Portions of the graph will be generated as needed. Second, Kis a directed al- gorithm which enables the use of heuristic functions to guide the search. This leads to significant improve- ments in the memory and runtime demands for many practical problem instances. We prove the correctness of Kand show that it maintains a worst-case runtime complexity of O(m+k n log(k n)) and a space complex- ity of O(k n + m), where n is the number of vertices and m is the number of edges of the graph. We provide experimental results which illustrate the scalability of the algorithm.