-
Order to map any of the distance between two nodes, (2) with two
求图的任两结点间的距离,(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 q
- 2022-04-20 12:55:19下载
- 积分:1
-
用C++实现的工资管理系统!这里用了数据结构中的链表!
用C++实现的工资管理系统!这里用了数据结构中的链表!-Using C++ implementation of the salary management system! Here with a list data structure!
- 2022-01-24 13:21:10下载
- 积分:1
-
ODBC数据库查询源代码 关于数据库中数据的查询 一个非常好的代码...
ODBC数据库查询源代码 关于数据库中数据的查询 一个非常好的代码-ODBC database query on the source database query of data a very good code
- 2023-08-14 02:35:03下载
- 积分:1
-
程序功能: 实现一元多项式的四则运算 ,用到的主要就是多现式的实现,除法实现起来是很复杂的。...
程序功能: 实现一元多项式的四则运算 ,用到的主要就是多现式的实现,除法实现起来是很复杂的。-procedures functions : achieving a polynomial of four operations is mainly used in the more- is the realization Apart from achieving up is very complex.
- 2023-03-27 08:25:03下载
- 积分:1
-
这是关于古代9连环问题的求解过程,包括安装跟坼卸
这是关于古代9连环问题的求解过程,包括安装跟坼卸-This is a chain of nine ancient problem solving process, including the installation of crack with dumping
- 2022-04-01 14:14:11下载
- 积分:1
-
Algorithm
算法类,二进制加法的源代码,算法导论上的-Algorithm-type, binary adder
- 2022-03-25 22:19:43下载
- 积分:1
-
集装箱的装箱问题
给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得...
集装箱的装箱问题
给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装箱的空间利用率最高?-problem given a container, its length L, width W and H for high, existing batch of cylindrical wood and each timber are long L, but different radius, based i-radius of the wood-ri. Asked how crates, containers make maximum utilization of space?
- 2023-05-27 04:50:03下载
- 积分:1
-
vb6 访问access技术
适合初学者调试学习
vb6 访问access技术
适合初学者调试学习-VB6 visit debug access technique is suitable for beginners to learn
- 2022-02-22 02:46:27下载
- 积分:1
-
C#代码创建Access MDB数据库,无需Access环境.
C#代码创建Access MDB数据库,无需Access环境.-C# Code to create Access MDB database without Access environment.
- 2022-03-26 19:15:15下载
- 积分:1
-
发货查询系统作业,delphi 写的,演示 数据库德操作和 打印输出...
发货查询系统作业,delphi 写的,演示 数据库德操作和 打印输出-this is a test for delphi and access
- 2022-06-20 04:00:49下载
- 积分:1