Floyd算法的改进与优化
DOI:
作者:
作者单位:

作者简介:

代修宇(1986- ),男,四川乐山人,硕士研究生,研究方向:计算机辅助教学与管理教学。

通讯作者:

基金项目:


Improvement and Optimization of Floyd Algorithm
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
    摘要:

    介绍一个改进的Floyd算法。本文综合运用C++语言编程技术,设计并实现了求带权有向图中各个顶点之间最 短路径的算法,反映了最短路径序列上前后两个顶点之间的先后关系。本算法从顶点出发,每次在求各顶点间最短路径的时 候,都进行路径优化。改进后的Floyd算法,迭代速度快,计算量一定程度减少。

    Abstract:

    This paper introduces an improved Floyd algorithm. By comprehensively using C ++ Language Programming Techniques,we design and achieve the algorithm of the shortest path among the vertexes in a weighted directed graph,which reflects the sequential relationships between two vertexes before and after the shortest path. Started from the vertexes,the improved algorithm would make paths optimization when we calculate the shortest path among the vertexes every time. What’s more,the improved Floyd algorithm has a rapid iterative speed and its calculated quantity has been reduced to a certain extent

    参考文献
    相似文献
    引证文献
引用本文

代修宇,程国忠. Floyd算法的改进与优化[J].西昌学院学报(自然科学版),2012,(1):63-65.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2017-05-10