-
图论中典型的搜索算法――Dijkstra最小路径
图论中典型的搜索算法――Dijkstra最小路径-Graph Theory typical search algorithm- Dijkstra minimum path
- 2022-02-16 09:24:10下载
- 积分:1
-
一个基于Web的图书系统moblib
这是一个移动网络图书馆系统采用PHP。它将帮助学生对什么事情对图书馆管理系统过程的基础
- 2022-05-16 22:34:32下载
- 积分:1
-
用C++实现二叉树的建立,删除,添加。主要使用的是类的结构。...
用C++实现二叉树的建立,删除,添加。主要使用的是类的结构。-C realization of the establishment of binary tree, delete, add. The main category is the use of the structure.
- 2023-06-25 21:55:03下载
- 积分:1
-
数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果...
数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果;3.4判断二叉排序树T是否为平衡二叉树,输出信息“OK!”/“NO!”;3.5再使用上述数列L,生成平衡的二叉排序树BT,每当插入新元素,发现当前的二叉排序树BT不是平衡的二叉排序树,则立即将它转换成新的平衡的二叉排序树BT;3.6计算平衡的二叉排序树BT的平均查找长度,输出结果。3.6分析对比未平衡化的二叉排序树和平衡的二叉排序树的查找效率(最好、最坏平均比较关键字数)-data structure large operations into a 3.1 L series, generating a binary tree Sort T; 3.2 pair of two fork-tree T for medium preorder, output results; 3.3 Ranking calculation Binary Tree Search T"s average length of the output; 3. four judgment ordering two trees T fork whether balanced binary tree, the output message "OK!"/"NO!" ; again using the 3.5 series L, generate balanced binary tree sort BT, whenever insert a new element, found the current binary sort tree is not-BT Value of two binary sort tree, it will be immediately converted into the new balance of the two fork-tree BT; 3.6 Calculation balanced binary tree sort BT search length of the average output results. 3.6 Comparative Analysis of
- 2022-04-09 01:41:30下载
- 积分:1
-
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
-
用VC写的模拟内存分配管理的代码,经测试运行完全正确
用VC写的模拟内存分配管理的代码,经测试运行完全正确-VC write memory allocation management simulation code, the test run entirely correct
- 2023-01-07 01:40:03下载
- 积分:1
-
java程序实现的通俗易懂的二分查找的算法源代码
java程序实现的通俗易懂的二分查找的算法源代码-java program to achieve the user-friendly dichotomous search algorithm source code
- 2022-02-04 20:18:19下载
- 积分:1
-
改进的矩阵操作类,增加了诸如对矩阵任意行/列的存取,矩阵的积分图像的计算等...
改进的矩阵操作类,增加了诸如对矩阵任意行/列的存取,矩阵的积分图像的计算等-improved matrix operations, such as the right to increase the matrix arbitrary line/column access, image matrix of the integral calculation
- 2022-01-21 23:20:54下载
- 积分:1
-
图的邻接矩阵存储结构
图的优先深度遍历
图的邻接矩阵存储结构
图的优先深度遍历-Graph adjacency matrix storage structure of the priority depth traversal
- 2022-03-24 13:40:02下载
- 积分:1
-
visual c++ 很全的ado的sample
visual c++ 很全的ado的sample-visual c is the whole of the sample ado
- 2023-08-05 05:45:02下载
- 积分:1