计算机与现代化

• 算法设计与分析 • 上一篇    下一篇

一种基于路径阻断的求解最短路径算法

  

  1. (北京化工大学信息科学与技术学院,北京100029)
  • 收稿日期:2017-04-12 出版日期:2017-12-25 发布日期:2017-12-26
  • 作者简介:林家祺(1992-),男,广西贵港人,北京化工大学信息科学与技术学院硕士研究生,研究方向:基于复杂网络的社会网络分析; 卢罡(1981-),男,吉林人,讲师,博士,研究方向:基于复杂网络的社会网络分析,基于GPGPU的高性能计算; 许南山(1956-),男,福建莆田人,副教授,学士,研究方向:计算机网络与MIS系统。
  • 基金资助:
    国家自然科学基金资助项目(61602026)

A Fast Algorithm for Calculating APSP by Paths Block

  1. (College of Information Science & Technology, Beijing University of Chemical Technology, Beijing 100029, China)
  • Received:2017-04-12 Online:2017-12-25 Published:2017-12-26

摘要: 全源最短路径的求解是计算机科学、交通工程、地理信息系统等学科中的一个研究热点。随着网络规模不断增大,求解全源最短路径的时间复杂度急剧上升,这制约了复杂网络相关研究与应用的快速发展,因此最短路径算法的效率问题是普遍关注并且在实际应用中迫切需要解决的问题。本文在BFS的基础上,引入路径阻断策略,利用已求得的单源最短路径节点的结果,加速全源最短路径的求解。实验结果表明该方法对大规模网络全源最短路径实现了加速计算。

关键词: 复杂网络, 全源最短路径, 广度优先遍历, 路径阻断

Abstract: The problem of All Pairs of Shortest Paths (APSP) has been a hot topic in the fields of computer science, traffic engineering, geographic information system, and so on. With the increasing size of the network, the time complexity of calculating APSP is increasing rapidly. Therefore, the efficiency of APSP algorithm is a general concern and is urgent in practical application. Based on the BFS, this paper introduces the path blocking strategy, which uses the results obtained by solving Single Source Shortest Path (SSSP) to accelerate the process of APSP. The experimental results show that this method realizes the acceleration.

Key words: complex network, APSP, BFS, poths block

中图分类号: