首页|Floyd多源最短路径算法的并行化研究

Floyd多源最短路径算法的并行化研究

扫码查看
首先对现有的Floyd多源最短路径算法进行分析,指出了该算法执行效率低下,无法在数据量大的稠密图上高效运行这一问题.为解决这一问题,从并行计算的角度着手研究,将算法中插入点给定时进行一次矩阵迭代并逐条刷新所有当前最短路径的顺序过程优化为基于并行计算的同步刷新过程.该优化使得Floyd算法的时间复杂度由原来的立方阶降低为线性阶,从理论上提高了算法的执行效率,使该算法对数据量大的稠密图顺利进行计算和求解成为了可能.
Research on parallelization of Floyd-Warshall algorithm
This article first analyzes the existing Floyd-Warshall algorithm and points out the problem of low execution effi-ciency and inability to run efficiently on dense graphs with large amounts of data.To solve this problem,this article studies from the perspective of parallel computing,optimizing the sequential process of performing a matrix iteration with a given insertion point in the algorithm and refreshing all the current shortest paths one by one to a synchronous refreshing process based on parallel comput-ing.This optimization reduces the time complexity of Floyd algorithm from the original cubic order to the linear order,improves the execution efficiency of the algorithm theoretically,and makes it possible for the algorithm to calculate and solve the dense graph with large amount of data smoothly.

Floyd-Warshall algorithmparallel computingshortest pathmultiple sourcesmatrix operation

龚宁静

展开 >

湖北警官学院信息技术系,武汉 430034

Floyd算法 并行计算 最短路径 多源 矩阵运算

2024

现代计算机
中大控股

现代计算机

影响因子:0.292
ISSN:1007-1423
年,卷(期):2024.30(1)
  • 7