期刊文献+

不可达顶点剪枝算法及其在最短路径中的应用

Fast Pruning Algorithm for Unreachable Vertices and ItsApplication in Solving Shortest Path Problem
下载PDF
导出
摘要 k步可达性查询用于回答图G中从顶点u到达顶点v最多k步是否存在路径,但其多用于无权图的可达性研究。针对加权图,在图中构建了最早到达、逆向最早到达和最晚到达等三个索引,并应用这三个索引实现对不可达顶点的快速剪枝,从而有效地缩减了加权图的规模。运用该方法建立索引并剪枝顶点的时间复杂度与空间复杂度分别为O(n+e)和O(n),这里n和e分别为图中顶点的数目和边的数目。该方法可以与Dijkstra算法、Floyd算法和A*算法等多种传统算法相结合,并应用于最短路径求解,从而提高传统算法计算性能。最后以物流配送网络为例进行了实验验证,实验结果表明提出的方法可以正确并高效地对不必要计算的顶点进行剪枝,从而加快了最短路径求解速度,验证了提出方法的有效性。 k step reachability query is used to solve the problem whether there exists a reachable path from vertex u to vertex v within k steps in graph G.But these reachability studies mostly focus on unweighted graph.This paper builds three indexes:the earliest arrival index,the reverse earliest arrival index,and the latest arrival index in the weighted graph and employs these three indexes to achieve fast pruning of the unreachable vertices,so as to effectively reduce the scale of the weighted graph.The time and space complexities of the method are O(n+e)and O(n),where n and e are the number of the verices and the edges of graph G,respectively.This method combined with algorithms Dijkstra,Floyd,and A-star is utilized to solve the shortest path problem in order to improve the perfomance of the triditional algorithms.Finally,a logistics distribution network is employed to verify the performance of the proposed algorithm.The experimental results show that the proposed algorithm can accurately and efficiently prune the useless vertices and boost the calculating speed of the shortest path effectively,the effectiveness of the proposed method is verified.
作者 李艳 王阳阳 张红岩 武优西 LI Yan;WANG Yangyang;ZHANG Hongyan;WU Youxi(School of Economics and Management,Hebei University of Technology,Tianjin 300401,China;School of Artificial Intelligence,Hebei University of Technology,Tianjin 300401,China)
出处 《计算机工程与应用》 CSCD 北大核心 2020年第15期51-57,共7页 Computer Engineering and Applications
基金 国家自然科学基金(No.61976240) 河北省研究生创新能力培养资助项目(No.CXZZSS2019035)。
关键词 索引 剪枝策略 最短路径 可达性查询 index pruning strategy shortest path reachability query
  • 相关文献

参考文献10

二级参考文献202

共引文献152

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部