计算机科学 ›› 2014, Vol. 41 ›› Issue (Z6): 296-299.

• 无线网络与通信 • 上一篇    下一篇

两区域交叉网络图的Dijkstra改进算法

阳西述,刘怀玉,胡亚辉   

  1. 湖南第一师范学院信息科学与工程系 长沙410205;湖南第一师范学院教育科学系 长沙410205;湖南第一师范学院数学系 长沙410205
  • 出版日期:2018-11-14 发布日期:2018-11-14
  • 基金资助:
    本文受湖南省教育科学重大项目(XJK011DDUT003),湖南省科技计划项目(2012TZ2018,3SK3137),湖南第一师范学院项目(XYS10Z07,XYS11Z06),计算机网络精品课程项目资助

Improved Dijkstra Algorithm for Two Regional-cross Network Diagram

YANG Xi-shu,LIU Huai-yu and HU Ya-hui   

  • Online:2018-11-14 Published:2018-11-14

摘要: 传统Dijkstra算法是计算网络图单源最短路径的经典算法,但不适应于现实中存在的两区域交叉网络图。提出了新的区域特征码概念,设计了两区域交叉网络图的区域特征码和访问控制逻辑,并以此为基础改进了Dijkstra算法。实验证明,改进以后的Dijkstra算法能正确地计算两区域交叉网络图的单源最短路径,其时、空复杂度与原算法相同。通过这种改进,扩展了Dijkstra算法的适应范围。

关键词: Dijkstra算法,两区域交叉网络图,区域特征码,访问控制逻辑 中图法分类号TP391文献标识码A

Abstract: The traditional Dijkstra algorithm is the classical algorithm to calculate the single-source shortest path for a network diagram,but not suited for two regional-cross network diagrams in reality.In this paper,the new concept of regional signature was put forward,and the regional signature and access-control logic for two regional-cross network diagram were designed too.Based on these,the Dijkstra algorithm was improved.The experiment proved that the improved Dijkstra algorithm can correctly calculate the single-source shortest path for two region-cross network diagrams,its place complexity & time complexity are the same as the traditional algorithm.Through this improvement,the adaptation range of the Dijkstra algorithm was expanded.

Key words: Dijkstra algorithm,Two regional-cross network diagram,Regional signature,Access-control logic

[1] 谢希仁.计算机网络(第5版)[M].北京:电子工业出版社,2011(9):152-156
[2] Xie De-xiang,Zhu Hai-bo,Yan Lin,et al.An improved Dijkstra algorithm in GIS application[C]∥CDC’2010.2010:167-169
[3] 王峰,游志胜,曼丽春,等.Dijkstra及基于Dijkstra的前N条最短路径算法在智能交通系统中的应用[J].计算机应用研究,2006(9):203-206
[4] Cuan Ying,Chen Xiao-ni.Application of Improved Dijkstra Algorithm in Selection of Gas Source Node in Gas Network[C]∥2012International Conference on Industrial Control and Electronics Engineering.2012,410:1558-1560
[5] Zhan F B.Three Fastest Shortest Path Algorithms on Real Road Networks[J].Journal of Geographic Information and Decision Analysis,1997,1(1):69-82
[6] 李元臣,刘维群.基于Dijkstra算法的网络最短路径分析[J].微计算机信息,2004(3):295-298
[7] 张林广,方金广,申排伟.基于配对堆的Dijkstra算法[J].中国图形图象学报,2007(5):922-926
[8] 严蔚敏,吴伟民.数据结构(C语言版)[M].北京:清华大学出版社,2002(9):187-190
[9] Thomas H,Cormen C E,Leiserson R L.Rivest Clifford Stein,Introduction to Algorithms(Second Edition)[M].MIT Press,2001,China Machine Press,2006:366-369

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!