-
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
-
使用递归的方法实现的算式分析器,给定一个符合C语言格式的算式,可以使用括号,单目运算符等,计算算式的运算结果。...
使用递归的方法实现的算式分析器,给定一个符合C语言格式的算式,可以使用括号,单目运算符等,计算算式的运算结果。-use recursive method formula Analyzer, to set a C-language format with the formula, you can use brackets, Monocular Operators, calculation formula of the calculation results.
- 2022-02-05 05:34:16下载
- 积分:1
-
登录脚本,PHP连接数据库的使用。
login sript .PHP usefull to connect DB
- 2022-12-11 00:25:03下载
- 积分:1
-
把数据库中已经存在的数据通过网络发送出去,实现数据共享...
把数据库中已经存在的数据通过网络发送出去,实现数据共享-Send the existed data in the database via network and share the data
- 2022-05-30 07:55:22下载
- 积分:1
-
实现学生基本信息、选课信息及成绩的增、删、改、查功能。...
实现学生基本信息、选课信息及成绩的增、删、改、查功能。-Achieving students to basic information, elective information, and performance increase, delete, change, check functional.
- 2023-05-24 17:50:03下载
- 积分:1
-
数据结构课程实验中所编的判断哈夫曼编码.参考可用
数据结构课程实验中所编的判断哈夫曼编码.参考可用-experimental data structure courses, which include the judgment Huffman coding. Reference available
- 2022-05-25 18:23:03下载
- 积分:1
-
一个电力企业的后台管理程序,请大家笑纳
一个电力企业的后台管理程序,请大家笑纳-The background of a power enterprise management process, please笑纳
- 2022-01-31 12:03:23下载
- 积分:1
-
数据结构中的平衡二叉树的代码
数据结构中的平衡二叉树的代码- In construction of data balance two forks tree s code
- 2022-04-13 00:54:14下载
- 积分:1
-
一款特色的韩国的图片滚动方式,
一款特色的韩国的图片滚动方式, -Features a picture of South Korea a rolling basis,
- 2022-01-26 04:13:21下载
- 积分:1
-
三种排序方法的动态演示,可以同时开启多个线程,同时用不同的方法进行排序,直观的判断不同算法的排序效率。...
三种排序方法的动态演示,可以同时开启多个线程,同时用不同的方法进行排序,直观的判断不同算法的排序效率。-three sequencing method of dynamic presentations, it also opened a number of threads, in addition to the use of different methods for sequencing, intuitive judgment different sorting algorithms efficiency.
- 2022-04-30 10:00:51下载
- 积分:1