• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (4): 77-81.

• 论文 • 上一篇    下一篇

一种基于桶结构的单源最短路径算法

魏文红1,李清霞2,蔡昭权3   

  1. (1.华南理工大学电子与信息学院,广东 广州 510640;2.东莞理工学院城市学院计算机系,广东 东莞 523106;3.惠州学院教育技术中心,广东 惠州 516007)
  • 收稿日期:2011-11-05 修回日期:2012-02-10 出版日期:2012-04-26 发布日期:2012-04-25
  • 基金资助:

    国家青年自然科学基金资助项目(61103037);中国博士后科学基金资助项目(20110490883);东莞市科技计划项目(2011108102015);惠州市科技计划项目(2011B010003003)

A SingleSource Shortest Path Algorithm Based on the Bucket Structure

WEI Wenhong1,LI Qingxia2,CAI Zhaoquan3   

  1. (1.School of Electronics and Information Engineering,South China University of Technology,Guangzhou 510640;2.Department of Computer Science,City College,Dongguan University of Technology,Dongguan 523106;3.Educational Technology Center,Huizhou University,Huizhou 516007,China)
  • Received:2011-11-05 Revised:2012-02-10 Online:2012-04-26 Published:2012-04-25

摘要:

以单源最短路径为主的最优路径问题是众多社会应用领域内选择最优问题的基础。本文分析了不同实现技术求解单源最短路径问题的算法,结合基于标记设定的Dijkstra算法和基于标记修正的BFM算法的思想,提出了一种基于桶结构的单源最短路径算法。实验结果表明,该算法与前两种算法相比,具有好的运行时间复杂度和可并行性。

关键词: 桶结构, 单源最短路径, Dijkstra算法, BFM算法

Abstract:

The singlesource shortest path problem as to the main optimal routing problem is the basis of the most optimal problems in many social application areas. This paper discusses the different singlesource shortest path serial algorithms in term of the implementation technique, combining the ideas of the Dijkstra algorithm based on label setting and the BFM algorithm based on label correcting, a new kind of singlesource shortest path algorithm based on the bucket structure is proposed. The experiments show that the proposed algorithm has good time complexity and parallelism property compared with the two former algorithms.

Key words: bucket structure;singlesource shortest path;Dijkstra algorithm;BFM algorithm