文件名称:Dijkstra
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:784.81kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1 将顶点集V分成 S(开始只包含源点, S包含的点都是已经计算出最短路径的点) 和 V-S 集合(V-S 包含那些未确定最短路径的点)
2. 从V-S中选取这样一个顶点w: 满足经过S集合中任意顶点 v到w 的路径最短, 即
满足( 源到v的路径 + v到w的路径) 最小的那个w. 其中v 属于S, w属于S-V。将w 加入S, 并从V-S中移除w.
3. 如此反复,直到V-S变空集为止-1 to the vertex set V into S (the beginning contains only the source, S contains the points are already calculated the shortest path points) and set VS (VS contains the points that determined the shortest path) 2. From the VS select a vertex w: S set to meet through any vertex v shortest path to w that satisfy (the path of the source to the v+ v to w in the path of) the smallest one that w. v belong to S, w belongs to SV. The w added S, and removed from the VS w. 3. So repeatedly, until the empty set up VS
2. 从V-S中选取这样一个顶点w: 满足经过S集合中任意顶点 v到w 的路径最短, 即
满足( 源到v的路径 + v到w的路径) 最小的那个w. 其中v 属于S, w属于S-V。将w 加入S, 并从V-S中移除w.
3. 如此反复,直到V-S变空集为止-1 to the vertex set V into S (the beginning contains only the source, S contains the points are already calculated the shortest path points) and set VS (VS contains the points that determined the shortest path) 2. From the VS select a vertex w: S set to meet through any vertex v shortest path to w that satisfy (the path of the source to the v+ v to w in the path of) the smallest one that w. v belong to S, w belongs to SV. The w added S, and removed from the VS w. 3. So repeatedly, until the empty set up VS
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Dijkstra/data.txt
Dijkstra/Debug/Dijkstra.exe
Dijkstra/Debug/Dijkstra.ilk
Dijkstra/Debug/dijkstra.obj
Dijkstra/Debug/Dijkstra.pch
Dijkstra/Debug/Dijkstra.pdb
Dijkstra/Debug/graph.obj
Dijkstra/Debug/main.obj
Dijkstra/Debug/vc60.idb
Dijkstra/Debug/vc60.pdb
Dijkstra/dijkstra.cpp
Dijkstra/Dijkstra.dsp
Dijkstra/Dijkstra.dsw
Dijkstra/dijkstra.h
Dijkstra/Dijkstra.ncb
Dijkstra/Dijkstra.opt
Dijkstra/Dijkstra.plg
Dijkstra/graph.cpp
Dijkstra/graph.h
Dijkstra/main.cpp
Dijkstra/Debug
Dijkstra
Dijkstra/Debug/Dijkstra.exe
Dijkstra/Debug/Dijkstra.ilk
Dijkstra/Debug/dijkstra.obj
Dijkstra/Debug/Dijkstra.pch
Dijkstra/Debug/Dijkstra.pdb
Dijkstra/Debug/graph.obj
Dijkstra/Debug/main.obj
Dijkstra/Debug/vc60.idb
Dijkstra/Debug/vc60.pdb
Dijkstra/dijkstra.cpp
Dijkstra/Dijkstra.dsp
Dijkstra/Dijkstra.dsw
Dijkstra/dijkstra.h
Dijkstra/Dijkstra.ncb
Dijkstra/Dijkstra.opt
Dijkstra/Dijkstra.plg
Dijkstra/graph.cpp
Dijkstra/graph.h
Dijkstra/main.cpp
Dijkstra/Debug
Dijkstra
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.