文件名称:zuiduan
-
所属分类:
- 标签属性:
- 上传时间:2013-08-25
-
文件大小:890.16kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设图的顶点大于1个,不超过30个,每个顶点用一个编号表示(如果一个图有n个顶点,则它们的编号分别为0, 1, 2, 3, …, n-1)。
此题为求有向网中顶点间最短路径问题,可建立以票价为权的邻接矩阵,用Dijkstra算法求最短路径长度。
Dijkstra算法中有一个辅助向量D,表示当前所找到的从源点到其它点的最短路径长度。因为每次都要在D中找最小值,为提高性能,用最小值堆的优先队列存储D值。
-Let the vertex is greater than 1, no more than 30, with a number that each vertex (if a graph with n vertices, their numbers are 0, 1, 2, 3, ..., n-1). This network entitled to seek a shortest path between vertices, we can establish the right of the fare for the adjacency matrix, using Dijkstra' s algorithm for the shortest path length. Dijkstra' s algorithm has an auxiliary vector D, the found that the current from the source point to the other points of the shortest path length. Because every time to find the minimum value in the D, to improve performance, with the minimum heap priority queue storage D values.
此题为求有向网中顶点间最短路径问题,可建立以票价为权的邻接矩阵,用Dijkstra算法求最短路径长度。
Dijkstra算法中有一个辅助向量D,表示当前所找到的从源点到其它点的最短路径长度。因为每次都要在D中找最小值,为提高性能,用最小值堆的优先队列存储D值。
-Let the vertex is greater than 1, no more than 30, with a number that each vertex (if a graph with n vertices, their numbers are 0, 1, 2, 3, ..., n-1). This network entitled to seek a shortest path between vertices, we can establish the right of the fare for the adjacency matrix, using Dijkstra' s algorithm for the shortest path length. Dijkstra' s algorithm has an auxiliary vector D, the found that the current from the source point to the other points of the shortest path length. Because every time to find the minimum value in the D, to improve performance, with the minimum heap priority queue storage D values.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
zuiduan/Debug/themain.obj
zuiduan/Debug/vc60.idb
zuiduan/Debug/vc60.pdb
zuiduan/Debug/zuiduan.exe
zuiduan/Debug/zuiduan.ilk
zuiduan/Debug/zuiduan.pch
zuiduan/Debug/zuiduan.pdb
zuiduan/dijkstra.h
zuiduan/floyd.h
zuiduan/Graph.h
zuiduan/themain.cpp
zuiduan/zuiduan.dsp
zuiduan/zuiduan.dsw
zuiduan/zuiduan.ncb
zuiduan/zuiduan.opt
zuiduan/zuiduan.plg
zuiduan/Debug
zuiduan
zuiduan/Debug/vc60.idb
zuiduan/Debug/vc60.pdb
zuiduan/Debug/zuiduan.exe
zuiduan/Debug/zuiduan.ilk
zuiduan/Debug/zuiduan.pch
zuiduan/Debug/zuiduan.pdb
zuiduan/dijkstra.h
zuiduan/floyd.h
zuiduan/Graph.h
zuiduan/themain.cpp
zuiduan/zuiduan.dsp
zuiduan/zuiduan.dsw
zuiduan/zuiduan.ncb
zuiduan/zuiduan.opt
zuiduan/zuiduan.plg
zuiduan/Debug
zuiduan
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.