首页 | 官方网站   微博 | 高级检索  
     

基于Floyd算法的多重最短路问题的改进算法
引用本文:左秀峰,沈万杰.基于Floyd算法的多重最短路问题的改进算法[J].计算机科学,2017,44(5):232-234, 267.
作者姓名:左秀峰  沈万杰
作者单位:北京理工大学管理与经济学院 北京100081,北京理工大学管理与经济学院 北京100081
摘    要:路径分析是网络分析最基本的问题,其核心是对最短路径的求解。Floyd算法是一种求取最短路的经典算法。分析发现,两点间可能存在多条权重相同的最短路径,而这一点Floyd算法没有涉及。以无向联通图为研究对象,设计了基于Floyd求解多重等价最短路算法,并分析计算了一个实际算例。计算结果表明,基于Floyd的多重等价最短路算法可以有效解决多重等价最短路问题。

关 键 词:无向图  Floyd算法  多重等价最短路
收稿时间:2016/4/14 0:00:00
修稿时间:2016/7/30 0:00:00

Improved Algorithm about Muti-shortest Path Problem Based on Floyd Algorithm
ZUO Xiu-feng and SHEN Wan-jie.Improved Algorithm about Muti-shortest Path Problem Based on Floyd Algorithm[J].Computer Science,2017,44(5):232-234, 267.
Authors:ZUO Xiu-feng and SHEN Wan-jie
Affiliation:School of Management and Economics,Beijing Institute of Technology,Beijing 100081,China and School of Management and Economics,Beijing Institute of Technology,Beijing 100081,China
Abstract:Find the shortest path is the core of the path analysis,which is the fundamental problem of the network ana-lysis.Floyd algorithm is one of the most classical algorithms to solve the shortest path problem.Through analyzing practical problems,there maybe exist multiple shortest paths with the same weight that the Floyd algorithm are not addressed.This paper designed the multi-shortest paths algorithm for undirected graph based on Floyd algorithm and offered an example to exam the correctness of the algorithm.The experimental results show that the algorithm can effectively solve the problem of muti-shortest paths.
Keywords:Undirected graph  Floyd algorithm  Muti-shortest path
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号