首页 | 本学科首页   官方微博 | 高级检索  
     


Enumerating K best paths in length order in DAGs
Authors:Marta M.B. Pascoal,Antonio Sedeñ  o-Noda
Affiliation:1. Institute for Systems Engineering and Computers—Coimbra, Rua Antero de Quental, N°°199, 3000-033 Coimbra, Portugal;2. Departamento de Matemática da Universidade de Coimbra, Apartado 3008, EC Universidade, 3001-454 Coimbra, Portugal;3. Departamento de Estad?´stica, Investigación Operativa y Computación (DEIOC), Universidad de La Laguna, C.P. 38271, San Cristóbal de La Laguna, Santa cruz de Tenerife, Spain
Abstract:We address the problem of finding the K best paths connecting a given pair of nodes in a directed acyclic graph (DAG) with arbitrary lengths. One of the main results in this paper is the proof that a tree representing the kth shortest path is obtained by an arc exchange in one of the previous (k − 1) trees (each of which contains a previous best path). An O(m + K(n + log K)) time and O(K + m) space algorithm is designed to explicitly determine the K shortest paths in a DAG with n nodes and m arcs. The algorithm runs in O(m + Kn) time using O(K + m) space in DAGs with integer length arcs. Empirical results confirming the superior performance of the algorithm to others found in the literature for randomly generated graphs are reported.
Keywords:Combinatorial optimization   Shortest path algorithms   K best solutions
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号