-
Prim algorithm using minimum spanning tree of the experimental procedures used i...
用prim算法实验最小生成树
本程序中用到函数adjg( ),此函数作用是通过接受输入的点数和边数,建立无向图。函数prg( )用于计算并输出无向图的邻接矩阵。函数prim( )则用PRIM算法来寻找无向图的最小生成树
定义了两个数组lowcost[max],closest[max],若顶点k加入U中,则令lowcost[k]=0。
定义二维数组g[ ][ ]来建立无向图的邻接矩阵。
-Prim algorithm using minimum spanning tree of the experimental procedures used in function adjg (), this function is through the acceptance of input points and edges, the establishment of a directed graph. Function of prg () used to calculate and output undirected graph of adjacency matrix. Function prim () is used PRIM Algorithm to find the undirected graph of the minimum spanning tree array defines two lowcost [max], closest [max], if it joined the U of k vertices, then the lowcost [k] = 0. The definition of two-dimensional array g [] [] to create a undirected graph of adjacency matrix.
- 2022-03-16 20:21:07下载
- 积分:1
-
- 2022-04-28 07:23:49下载
- 积分:1
-
此程序是利用图形函数画Lagranges函数,分段插值函数,Hermite函数的函数图形...
此程序是利用图形函数画Lagranges函数,分段插值函数,Hermite函数的函数图形-This program is the use of graphics functions draw Lagranges function, sub-interpolation function, Hermite function is a function of graphical
- 2022-02-14 08:52:56下载
- 积分:1
-
vc访问多个数据库。
vc访问多个数据库。-vc visit multiple databases.
- 2022-08-20 07:11:22下载
- 积分:1
-
使用贪心算法实现PRIM最小生成树算法.经典的算法题目.
使用贪心算法实现PRIM最小生成树算法.经典的算法题目.-PRIM algorithm using the greedy algorithm for minimum spanning tree. Classic topics algorithm.
- 2022-03-24 02:39:35下载
- 积分:1
-
本文介绍了数据结构中的选择排序,希尔排序等算法,采用全英文版,真实可靠...
本文介绍了数据结构中的选择排序,希尔排序等算法,采用全英文版,真实可靠-This paper introduces the data structure of choice, in order of ranking algorithms such as Hill, was used in English, true and reliable
- 2022-02-25 02:55:34下载
- 积分:1
-
库存报告
我的标题是系统的库存报告。这是作咖啡商店库存,业务需要有他们当前的库存报告。结合使用 OLEDB 连接和使用水晶报表,创建的库存报告。
- 2022-09-19 10:40:04下载
- 积分:1
-
本代码演示了使用MS SQL和delphi进行简单数据库开发,一个简单的学生成绩系统,附近中有数据库创建的文本...
本代码演示了使用MS SQL和delphi进行简单数据库开发,一个简单的学生成绩系统,附近中有数据库创建的文本-This code demonstrates the use of MS SQL, and delphi simple database development, a simple student achievement system, there is a database created in the vicinity of the text
- 2022-08-12 20:06:35下载
- 积分:1
-
is an expression evaluates the algorithm, using the template, can be four operat...
是一个表达式求值的算法,用 模板实现的,可以进行四则运算,支持小数和括号-is an expression evaluates the algorithm, using the template, can be four operators, and parentheses minority support
- 2022-05-15 06:09:19下载
- 积分:1
-
] [String with a variety of ways to have the whole string arrangement with, (non
][String]有多种方法可以使整个字符串排列,(不重复)整个数组,还有字典方法
- 2022-02-28 13:53:20下载
- 积分:1