K*: A heuristic search algorithm for finding the k shortest paths

被引:104
作者
Aljazzar, Husain [1 ]
Leue, Stefan [1 ]
机构
[1] Univ Konstanz, Dept Comp & Informat Sci, D-78457 Constance, Germany
关键词
k-Shortest-paths problem; K*; Heuristic search; On-the-fly search; COUNTEREXAMPLES;
D O I
10.1016/j.artint.2011.07.003
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present a directed search algorithm, called K*, for finding the k shortest paths between a designated pair of vertices in a given directed weighted graph. K* has two advantages compared to current k-shortest-paths algorithms. First, K* operates on-the-fly, which means that it does not require the graph to be explicitly available and stored in slain memory. Portions of the graph will be generated as needed. Second. K* can be guided using heuristic functions. We prove the correctness of K* and determine its asymptotic worst-case complexity when using a consistent heuristic to be the same as the state of the art, O(m + n log n + k), with respect to both runtime and space, where n is the number of vertices and m is the number of edges of the graph. We present an experimental evaluation of K* by applying it to route planning problems as well as counterexample generation for stochastic model checking. The experimental results illustrate that due to the use of heuristic, on-the-fly search K* can use less time and memory compared to the most efficient k-shortest-paths algorithms known so far. (C) 2011 Elsevier B.V. All rights reserved.
引用
收藏
页码:2129 / 2154
页数:26
相关论文
共 22 条
[1]  
Aljazzar H, 2005, LECT NOTES COMPUT SC, V3829, P177
[2]   Safety Analysis of an Airbag System using Probabilistic FMEA and Probabilistic Counterexamples [J].
Aljazzar, H. ;
Fischer, M. ;
Grunske, L. ;
Kuntz, M. ;
Leitner-Fischer, F. ;
Leue, S. .
SIXTH INTERNATIONAL CONFERENCE ON THE QUANTITATIVE EVALUATION OF SYSTEMS, PROCEEDINGS, 2009, :299-+
[3]  
ALJAZZAR H, 2009, THESIS U KONSTANZ
[4]   Generation of Counterexamples for Model Checking of Markov Decision Processes [J].
Aljazzar, Husain ;
Leue, Stefan .
SIXTH INTERNATIONAL CONFERENCE ON THE QUANTITATIVE EVALUATION OF SYSTEMS, PROCEEDINGS, 2009, :197-206
[5]   Directed Explicit State-Space Search in the Generation of Counterexamples for Stochastic Model Checking [J].
Aljazzar, Husain ;
Leue, Stefan .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2010, 36 (01) :37-60
[6]   GENERALIZED BEST-1ST SEARCH STRATEGIES AND THE OPTIMALITY OF A [J].
DECHTER, R ;
PEARL, J .
JOURNAL OF THE ACM, 1985, 32 (03) :505-536
[7]  
Dijkstra E. W., 1959, NUMER MATH, V1, P269
[8]  
EPPSTEIN D, 1998, MODEL CHECKING, V28, P652, DOI DOI 10.1137/50097539795290477.121
[9]   AN OPTIMAL ALGORITHM FOR SELECTION IN A MIN-HEAP [J].
FREDERICKSON, GN .
INFORMATION AND COMPUTATION, 1993, 104 (02) :197-214
[10]  
FREDERICKSON GN, 1991, 32ND P ANN S F COMP, P632