文件名称:shuanfa2
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:932.77kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
求图的任两结点间的距离,(2) 用二维数组存放C和A ,C是原成本矩阵,A 是求出的距离矩阵
(3) 算法采用三重循环,其中最外层的循环变量必须代表中间结点,中层的循环变量代表头结点而内层循环变量代表尾结点。
(4) 试着把三层循环变量的顺序作些改变,最外层的循环变量仍代表中间结点,而中层循环变量代表尾结点,内层循环变量代表头结点。把两种做法所得结果作比较,看结果是否相同
(5) 显示结果要清晰易懂
(6) 本题运行结果
-Order to map any of the distance between two nodes, (2) with two-dimensional array of storage C, A, C is the original cost matrix, A is to find the distance matrix (3) The algorithm uses the triple loop, one of the most outer loop variable must be representative of intermediate nodes, the middle loop variable represents the first node and the inner loop variable represents the end nodes. (4) tried to three-loop order of the variables to make some changes, the most outer loop variables still represent intermediate nodes, while the middle loop variable represents the end nodes, the inner loop variable represents the first node. The two approaches to compare the results to see whether the results the same (5) shows the results must be clear and understandable (6) The question running results
(3) 算法采用三重循环,其中最外层的循环变量必须代表中间结点,中层的循环变量代表头结点而内层循环变量代表尾结点。
(4) 试着把三层循环变量的顺序作些改变,最外层的循环变量仍代表中间结点,而中层循环变量代表尾结点,内层循环变量代表头结点。把两种做法所得结果作比较,看结果是否相同
(5) 显示结果要清晰易懂
(6) 本题运行结果
-Order to map any of the distance between two nodes, (2) with two-dimensional array of storage C, A, C is the original cost matrix, A is to find the distance matrix (3) The algorithm uses the triple loop, one of the most outer loop variable must be representative of intermediate nodes, the middle loop variable represents the first node and the inner loop variable represents the end nodes. (4) tried to three-loop order of the variables to make some changes, the most outer loop variables still represent intermediate nodes, while the middle loop variable represents the end nodes, the inner loop variable represents the first node. The two approaches to compare the results to see whether the results the same (5) shows the results must be clear and understandable (6) The question running results
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shuanfa2/test/A.txt
shuanfa2/test/APSP.out
shuanfa2/test/APSP.txt
shuanfa2/test/cost.txt
shuanfa2/test/Debug/test.exe
shuanfa2/test/Debug/test.ilk
shuanfa2/test/Debug/test.obj
shuanfa2/test/Debug/test.pch
shuanfa2/test/Debug/test.pdb
shuanfa2/test/Debug/vc60.idb
shuanfa2/test/Debug/vc60.pdb
shuanfa2/test/test.cpp
shuanfa2/test/test.dsp
shuanfa2/test/test.dsw
shuanfa2/test/test.ncb
shuanfa2/test/test.opt
shuanfa2/test/test.plg
shuanfa2/test/Debug
shuanfa2/test
shuanfa2
shuanfa2/test/APSP.out
shuanfa2/test/APSP.txt
shuanfa2/test/cost.txt
shuanfa2/test/Debug/test.exe
shuanfa2/test/Debug/test.ilk
shuanfa2/test/Debug/test.obj
shuanfa2/test/Debug/test.pch
shuanfa2/test/Debug/test.pdb
shuanfa2/test/Debug/vc60.idb
shuanfa2/test/Debug/vc60.pdb
shuanfa2/test/test.cpp
shuanfa2/test/test.dsp
shuanfa2/test/test.dsw
shuanfa2/test/test.ncb
shuanfa2/test/test.opt
shuanfa2/test/test.plg
shuanfa2/test/Debug
shuanfa2/test
shuanfa2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.