首页|最短路问题的Floyd算法优化及分析

最短路问题的Floyd算法优化及分析

扫码查看
在传统Floyd算法的基础上,运用动态规划思想通过迭代求出最终的最短路矩阵,并在迭代过程中先筛掉不能使路径权值变小的部分中间节点不参与迭代,从而简化计算权值矩阵的运算步骤,缩短矩阵运算时间.分析结果显示本文算法明显提高了运算的效率,降低了算法的复杂度.
Optimization and analysis of floyd algorithmic for the shortest path problem
This paper based on the traditional Floyd algorithm,used dynamic programming,it could calculate the final shortest path matrix only by two iterative steps.And if the new node is not shorter than the original,it should not be involved in the calculation,This method could simplify the operation steps of weight matrix calculation and save the matrix operation time.The analysis results show that the algorithm reduces the computational complexity and improves the efficiency of operations.

graph theory algorithmthe shortest path problemFloyd algorithm

张岩、杨龙

展开 >

西安文理学院信息工程学院,西安710065

图论算法 最短路问题 Floyd算法

国家自然科学基金陕西省自然科学基金西安市科技计划创新基金西安文理学院省级大学生创新创业训练计划项目

413014132014JM2-1009CXY1443WL192029

2017

信息技术
黑龙江省信息技术学会 中国电子信息产业发展研究院 中国信息产业部电子信息中心

信息技术

CSTPCD
影响因子:0.413
ISSN:1009-2552
年,卷(期):2017.(10)
  • 6
  • 7