Computer and Modernization

Previous Articles     Next Articles

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

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

CLC Number: