算法设计与分析论文.doc

任意结点间的最短路径方法的分析与研究 摘要 Dijkstra算法是图论中的著名算法,可用于计算网络图中某一点到各点的最短距离,但实际问题中有时需要求网络中所有各点之间的最短距离,如果仍采用Dijkstra算法分别计算,则需要对其执行多次,效率低。动态规划方法主要是研究与解决多阶段决策过程的最优化问题,也是求最短路问题的好算法。动态规划方法是将求解分成多阶段进行,求出的不但是全过程的解,而且包括后部子过程的一族解,在某些情况下,实际问题需要族解时,更显优越性。用动态规划方法求解最短路问题时,要求所求问题具有明显的阶段。本文分别讨论了这两种算法,论证了动态规划方法在求解所有结点之间最短距离问题的优越性。 关键字:最短路 Dijkstra算法 动态规划 Abstract Dijkstra algorithm is a well-known algorithms in graph theory can be used to calculate the network diagram to a point in the shortest distance between points, but the real question to be asked sometimes all of the network the shortest distance between points,

文档评论(0)

1亿VIP精品文档

相关文档