-
算法设计与分析中的贪心法源程序,用VC编写,应用贪心设计策略来解决操作系统中单机、无资源约束且每个作业可在等量时间内完成的作业调度问题...
算法设计与分析中的贪心法源程序,用VC编写,应用贪心设计策略来解决操作系统中单机、无资源约束且每个作业可在等量时间内完成的作业调度问题-algorithm design and analysis of the greedy algorithm source, VC preparation, application greedy design strategies to solve the stand-alone operating system, without resource constraints which each job can be in the same amount of time to complete the job-scheduling problem
- 2023-06-07 17:40:03下载
- 积分:1
-
二叉树的遍历
二叉树的遍历方式,包括先序遍历 层序遍历,最后用凹入表示法表示出来,对初学数据结构的孩子很有帮助,使用文本文档写的,复制粘贴就可以用。
- 2022-08-31 18:45:02下载
- 积分:1
-
good system, vc ASSSE system
很好的系统,vc++ + ASSSE 系统-good system, vc ASSSE system
- 2022-01-26 01:50:49下载
- 积分:1
-
图形图像处理中常用的编码,拉普拉斯高斯编码、游程编码、算术编码、Huffman编码、Sobel编码等。...
图形图像处理中常用的编码,拉普拉斯高斯编码、游程编码、算术编码、Huffman编码、Sobel编码等。-graphics processing commonly used coding, coding Laplace Gaussian, RIc, arithmetic coding, Huffman coding, coding Sobel.
- 2022-08-03 06:43:27下载
- 积分: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
-
清华版数据结构实验要求的的哈希算法原程序
清华版数据结构实验要求的的哈希算法原程序-version Qinghua Experimental data structure requirements of the original Hash Algorithm procedures
- 2022-01-23 10:20:37下载
- 积分:1
-
c#编写的一个数据库批量更新小工具。对测试人员来说比较有用。(可以一次性批量添加N条记录)...
c#编写的一个数据库批量更新小工具。对测试人员来说比较有用。(可以一次性批量添加N条记录)-c# prepared a database batch update gadget. The test more useful for the staff. (You can add a one-time volume records N)
- 2022-05-15 14:44:05下载
- 积分:1
-
Preface the first day of the second day of algorithm for the third day of the de...
数据结构十日谈
第一日 绪论 第二日 算法的描述和分析 第三日 线性表 第四日 栈和队列 第五日 串 第六日 数组 第七日 树 第八日 图 第九日 查找 第十日 排序-Preface the first day of the second day of algorithm for the third day of the description and analysis of linear table queue stack and its fifth day of the fourth day running sixth string array eighth seventh day of the tree map to sort第十日search第九日
- 2022-04-17 06:14:57下载
- 积分: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
-
哈夫曼树和哈夫曼编码:
从终端输入若干个字符及其对应的整数,将整数作为结点的权值,建立哈夫曼树,然后对各字符进行哈夫曼编码。最后打印哈夫曼树和对应的哈夫曼编...
哈夫曼树和哈夫曼编码:
从终端输入若干个字符及其对应的整数,将整数作为结点的权值,建立哈夫曼树,然后对各字符进行哈夫曼编码。最后打印哈夫曼树和对应的哈夫曼编码。
设计要求:
⑴ 哈夫曼殊和哈夫曼编码的存储表示参考教材事例
⑵ 在程序中构造四个子程序为
① int createhtree(HTree *t) /*根据输入的字符及其权值建立哈夫曼树*/
② void coding(HTree *t, char *code) /*对哈夫曼树进行编码*/
③ void printhtree(HTree *t, int* path) /*中序打印树*/
④ void printcode(HTree *t) /*输出个字符的哈夫曼编码*/
-Huffman tree and the Huffman coding: input from the terminal a number of characters and their corresponding integer, will be an integer as node weights, the establishment of Huffman tree, and then on the characters Huffman. Finally print Huffman tree and the corresponding Huffman. Design requirements: ⑴ Huffman and Huffman coding is that the reference materials storage ⑵ examples constructed in the procedure for the four subroutines ① int createhtree (HTree* t)/* input characters in accordance with its right value the establishment of Huffman tree*/② void coding (HTree* t, char* code)/* Huffman tree to encode*/③ void printhtree (HTree* t, int* path)/* Pri
- 2022-01-22 06:46:42下载
- 积分:1