作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (3): 1-3. doi: 10.3969/j.issn.1000-3428.2012.03.001

• 博士论文 •    下一篇

多核平台并行单源最短路径算法

黄跃峰1,2,钟耳顺1   

  1. (1. 中国科学院地理科学与资源研究所资源与环境信息系统国家重点实验室,北京 100101;2. 中国科学院研究生院,北京100049)
  • 收稿日期:2011-07-06 出版日期:2012-02-05 发布日期:2012-02-05
  • 作者简介:黄跃峰(1981-),男,博士研究生,主研方向:网络分析算法;钟耳顺,研究员、博士生导师
  • 基金资助:
    国家“863”计划基金资助项目(2009AA12Z331)

Parallel Single-source Shortest Path Algorithm on Multi-core Platform

HUANG Yue-feng 1,2, ZHONG Er-shun 1   

  1. (1. State Key Lab of Resources and Environmental Information System, Institute of Geographic Sciences and Natural Resources Research, Chinese Academy of Sciences, Beijing 100101, China; 2. Graduate University of Chinese Academy of Sciences, Beijing 100049, China)
  • Received:2011-07-06 Online:2012-02-05 Published:2012-02-05

摘要: 提出一种多核平台并行单源最短路径算法。采用与Δ-Stepping算法相似的并行策略,通过多个子线程对同一个桶中的弧段进行并行松弛,利用主线程控制串行搜索中桶的序列。实验结果表明,该算法求解全美单源最短路径的时间约为4 s,与使用相同代码实现的串行算法相比,加速比更高。

关键词: 并行算法, 最短路径, 网络分析, 多核平台

Abstract: A multi-thread parallel Single-source Shortest Path(SSSP) algorithm is proposed in multi-cores platform. It employs buckets to sort and uses the similar parallel strategy of Δ-Stepping algorithm. It does edge relaxations of the same bucket in parallel by slave threads, and searches all buckets in sequence by master thread. Experimental results show that this algorithm performs 4 seconds in the USA road network, achieving a higher speedup compared with serial parallel algorithm using same code.

Key words: parallel algorithm, shortest path, network analysis, multi-core platform

中图分类号: