-
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
-
用栈解决迷宫问题,随机生成迷宫,而且还调用了 windows.h 实现了 windows 控制台字体变化,采用C++实现,注释很详细...
用栈解决迷宫问题,随机生成迷宫,而且还调用了 windows.h 实现了 windows 控制台字体变化,采用C++实现,注释很详细-Find a way through a maze with stack. The maze is generated randomly. Change the colors in console. Use C++ with detailed comments.
- 2023-02-01 05:55:03下载
- 积分:1
-
用C生成一个课程二叉树,同时先、中、后序遍历该二叉树
用C生成一个课程二叉树,同时先、中、后序遍历该二叉树-C programs generated a binary tree, first, during and after the preorder the binary tree
- 2022-03-24 04:30:49下载
- 积分:1
-
本系统为VB开发的通信软件
本系统为VB开发的通信软件-VB of the system for the development of communications software
- 2023-01-27 13:40:03下载
- 积分:1
-
C + + 树示例
这是我的功课在我关于树的代码在 c + + 中的校园。如何创建树、 闹市、 dealocation、 查找数据、 将数据插入、 删除数据、 显示等。
- 2022-01-31 22:46:46下载
- 积分:1
-
迭代计算一个四阶黎卡提方程
迭代计算一个四阶黎卡提方程-iterative calculation of a four bands Riccati equation
- 2022-03-02 20:40:47下载
- 积分:1
-
BP神经网络JAVA代码
基于神经网络实现的JAVA代码,BP前缀型,使用简单。分为三个包,一个layer层,一个节点NODE 一个网络NETWORK。
基于神经网络实现的JAVA代码,BP前缀型,使用简单。分为三个包,一个layer层,一个节点NODE 一个网络NETWORK
- 2022-07-13 13:26:46下载
- 积分:1
-
mainly uses the page frames and tables which some tips worth studying :) include...
主要使用的页面框架和表格里面有一些值得学习的提示:)包括即时查询和模糊屏幕,内存窗口,表格中显示的整理宽而纯的代码,不是OCX控件类,是使用VFP8的初学者,包括所有VFP8源码和安装制作(txdq安装制作)。VCT),您应该相应地更改生产使用工具的安装路径
- 2022-01-25 22:39:22下载
- 积分:1
-
在数据结构中实现两个一元多项式的相加、相减和相乘
在数据结构中实现两个一元多项式的相加、相减和相乘-In the data structure of the polynomial realize one of the two together, subtract and multiply
- 2022-04-22 17:22:24下载
- 积分:1
-
use vb6.0 train inquiries database access and the development of the trains will...
火车查询 利用vb6.0 与数据库access开发
可以完成火车的查询功能-use vb6.0 train inquiries database access and the development of the trains will be completed inquiry
- 2022-04-30 05:46:43下载
- 积分:1