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

J4 ›› 2006, Vol. 28 ›› Issue (2): 83-85.

• 论文 • 上一篇    下一篇

求最短路径的新算法

徐凤生   

  • 出版日期:2006-02-01 发布日期:2010-05-20

  • Online:2006-02-01 Published:2010-05-20

摘要:

本文提出了一种求最短路径的新算法,并用C语言设计相应的程序验证了此算法。实验表明,该算法能高效地求出一个顶点到其它各项点的所有最短路径。

关键词: 最短路径 Dijkstra算法 邻接矩阵

Abstract:

A new algorithm for finding the shortest paths has been put forward in this paper. All the shortest paths from one node to all the other nodes can be derived quickly by using the algorithm. The algorithm is verified and implemented by a relevant C program.

Key words: shortest path, Diikstm algorithm, adjacent matrix