期刊文献+

Floyd算法的推广 被引量:3

Extensionof Floydalgorithm
下载PDF
导出
摘要 最短路径问题在很多现实问题中都有着至关重要的地位,研究了Floyd算法在平面网格节点最短路径问题中的推广应用。首先介绍算法的基本思想、基本原理和基本步骤;其次采用对比的方法,算法推广的基本思想,原理和步骤。讨论算法原理的距离矩阵与位置矩阵,距离矩阵由2维矩阵推广到4维矩阵,表示节点到节点的距离;算法的位置矩阵由一个2维的位置矩阵,推广到两个4维矩阵,分别表示节点的横纵坐标。两种算法计算二维平面网格节点最短路径问题时,采用一维Floyd算法计算时,邻接矩阵给出相对复杂;由例2可知,二维Floyd算法可直接应用于山地修路问题中,比一维Floyd算法计算更简便。 The shortest path problem plays an important role in many practical problems.This paper studies the popularization and application of Floyd algorithm in the shortest path problem of planar mesh nodes.Firstly,the basic idea,principle and steps of the algorithm are introduced;Secondly,the comparative method is used to popularize the basic idea,principle and steps of the algorithm.The distance matrix and position matrix of the algorithm principle are discussed.The distance matrix is extended from two-dimensional matrix to four-dimensional matrix,which represents the distance from node to node.The location matrix of the algorithm is extended from a two-dimensional location matrix to two four-dimensional locations,respectively representing thehorizontal and vertical coordinates of nodes.When the two algorithms calculate the shortest path problem of two-dimensional plane grid nodes,the adjacency matrix is relatively complex when the one-dimensional Floyd algorithm is used.As can be seen from Example 2,the two-dimensional Floyd algorithm can be directly applied to the mountain road construction problem,and the calculation is simpler than the onedimensional Floyd algorithm.
作者 魏玉华 谢小军 薛申芳 WEI Yu-hua;XIE Xiao-jun;XUE Shen-fang(College of general education,Guangzhou College of Technology and Business,Guangzhou 510850,Guangdong,China)
出处 《贵阳学院学报(自然科学版)》 2022年第4期115-119,共5页 Journal of Guiyang University:Natural Sciences
基金 项目类型“新工科背景下线性代数课程思政元素融入研究与实践”(项目编号:ZC20211147)。
关键词 计算数学 最短路径 推广的Floyd算法 MATLAB Computational mathematics Shortest path Generalized Floyd algorithm MATLAB
  • 相关文献

参考文献7

二级参考文献38

  • 1易小泉.出租车最优路径Floyd算法求解[J].计算机产品与流通,2020,9(6):134-136. 被引量:7
  • 2[2]谢政.网络算法与复杂性理论[M].长沙:国防科技大学出版社,2004.
  • 3Jesper Larsson Traff. An Experimental Comparison of Two Distributed SingIe-source Shortest Path AIgorlthms[J]. Par- allel Computing, 1995,21 : 1 505-1 532.
  • 4Duln C W. Two Fast Algorithms for All-pairs Shortest Paths [J]. Computers & Operations Research, 2007, 34:2 824- 2 839.
  • 5Tadao Takaoka. Shortest Path Algorithms for Nearly Acyclic Directed Graphs[J]. Theoretical Computer Science, 1998, 203 : 143-150.
  • 6Luis Santos,John R. Current. An Improved Solution Algo- rithm for the Constrained Shortest Path Problem[J]. Trans- portation Research Part B, 2007,41:756-771.
  • 7Xiaobin Wang, Hong Qu, Zhang Yi. A Modified Pulse Cou- pled Neural Network for Shortest Path Problem[J].Neuro- computing,2009,72:3 028-3 033.
  • 8Roland C. Backhouse,J. P. H. W. Van Den Eijnde, A. J. M. Van Gasteren. Calculating Path Algorithms[J]. Science of Computer Programming, 1994,22(1-2) : 3-19.
  • 9A. Moffat,T. Takaoka,An All Pairs Shortest Path Algorithm with Expected Time O(n2logn)[A]. 26th Annual Symposium on Foundation of Computer Science[C]//. Portland: IEEE Conforence Publication, 1985 : 101-105.
  • 10Shinkoh Okada, Mitsuo Gen. Fuzzy Shortest Path Problem[J]. Computers & Industrial Engineering, 1994,27(1-4) : 465-468.

共引文献49

同被引文献23

引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部