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

求解无环K短路径的Dijkstra算法
引用本文:赵见.求解无环K短路径的Dijkstra算法[J].淮阴师范学院学报(自然科学版),2012(1):8-12,52.
作者姓名:赵见
作者单位:中国矿业大学理学院
基金项目:国家自然科学基金资助项目(70901073);中央高校基本科研业务费专项基金项目(2010LKSX01)
摘    要:对多个标号的求解K短路径的Dijkstra改进算法进行完善,引入两个前驱节点矩阵pre和Kpre,通过这两个矩阵可以求出起始点到当前节点的当前路径,并判断这条路径是否有环,从而在寻找K短路的过程中避免了环的出现,完善后的算法可以求出前K短无环路径,该算法仅需要较少的额外计算量,所以仍然保持了算法的多项式复杂性.然后在不同规模的网络上对完善后的算法进行数值试验,验证了算法的正确性和有效性.

关 键 词:Dijkstra算法  K短路  无环  多标号

K-shortest Loopless Path Finding on the Basis of Improved Dijkstra Algorithm
ZHAO Jian.K-shortest Loopless Path Finding on the Basis of Improved Dijkstra Algorithm[J].Journal of Huaiyin Teachers College(Natrual Science Edition),2012(1):8-12,52.
Authors:ZHAO Jian
Institution:ZHAO Jian(School of Science,China University of Mining and Technology,Xuzhou Jiangsu 221116,China)
Abstract:This article aims to make some improvements on the basis of the improved Dijkstra algorithm that solves the K-shortest paths by the use of many labels on each node of a network,bring in two precursor node matrices pre and Kpre,the current path from the original node to the current node can be gained by means of the two matrices,then judge that whether this path is loopless,so that we can avoid loop appears in the process of the K-shortest paths finding,it turns out that the improved algorithm can find out the K-shortest paths,and it only needs less extra calculation amount,so it still keep a polynomial complexity of the original algorithm.Then numerical examples in different scale network are given to check the correctness and the effectiveness of the improved algorithm.
Keywords:dijkstra algorithm  K-shortest paths  loopless  many labels
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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