-
本程序用于数据的折半查找,是折半查找的基本算法
本程序用于数据的折半查找,是折半查找的基本算法-the procedures for the binary search data is the basic binary search algorithm
- 2022-02-03 13:56:59下载
- 积分:1
-
(1) 用一个4*20的二维数组M,第1行存放按从小到大排序的20个所给出的ai和bi,第2行存放相应的作业序号,第3行存放1或2(1代表是来自ai,2代表是来...
(1) 用一个4*20的二维数组M,第1行存放按从小到大排序的20个所给出的ai和bi,第2行存放相应的作业序号,第3行存放1或2(1代表是来自ai,2代表是来自bi), 第4行存放0或1(0代表作业序号未进入最优调度方案;1代表作业序号已进入最优调度方案)
(2) 排序完后,按课本所述方法求一种最优调度方案,存放在S中。
-(1) with a 4* 20 two-dimensional array M, the first a line to deposit a small to large order of 20 given by ai and bi, line 2 store operation corresponding serial number, the first three lines deposited one or 2 (a representative from the ai, 2 representatives from the bi), the first four rows stored 0 or 1 (0 for job number to gain access to optimal scheduling programs a job number has been entered on behalf of the optimal scheduling scheme) ( 2) Sort exhausted, according to the methods described in textbooks, seeking the optimal scheduling of a program stored in the S in.
- 2022-05-07 13:53:40下载
- 积分:1
-
子集和问题.rar:这是我学算法设计时的总结,包括定长和不定长做法(也就是回朔法,剪枝限界),当然也包括穷举法....
子集和问题.rar:这是我学算法设计时的总结,包括定长和不定长做法(也就是回朔法,剪枝限界),当然也包括穷举法.-subset and problems. Rar : This is my learning algorithm design at the conclusion, including fixed-length and variable length approach (that is, back to Schomburg, pruning Bound), which of course includes exhaustive law.
- 2022-11-04 05:50:03下载
- 积分:1
-
Area code conversion software, you can check area code of Chinese characters mai...
区位码转换软件,可以查询汉字的区位码,主要用于学生考试系统-Area code conversion software, you can check area code of Chinese characters mainly used for student examination system
- 2022-02-19 23:44:33下载
- 积分: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
-
严蔚敏编写的《数据结构》第2章的答案,全部为源码
严蔚敏编写的《数据结构》第2章的答案,全部为源码-the answers of chapter two of a book called ‘Data Structures’ writen by Yan Wei Min
- 2022-11-03 03:35:03下载
- 积分:1
-
自己编写的一个小算法 用于weka中,数据预处理
自己编写的一个小算法 用于weka中,数据预处理-I have written for a small weka algorithm, the data pre-processing
- 2023-04-08 09:45:03下载
- 积分:1
-
fifo和lru页面置换算法
fifo和lru页面置换算法-fifo and LRU algorithm replacement pages
- 2023-03-26 10:20:03下载
- 积分:1
-
数据结构:用链表做存储结构求两个一元多项式相加的结果
数据结构:用链表做存储结构求两个一元多项式相加的结果-Data structures: The linked list storage structure seeking to do two one dollar sum of the results of polynomial
- 2022-04-28 00:57:03下载
- 积分:1
-
编译系统: Visual C++ 6.0 操作系统: Windows 2000/XP 这几个程序对于学习和理解数据结构有很大的帮助。...
编译系统: Visual C++ 6.0 操作系统: Windows 2000/XP 这几个程序对于学习和理解数据结构有很大的帮助。-Compiler System : Visual C 6.0 operating system : Windows 2000/XP these procedures for the study and understanding of data structure will be very helpful.
- 2023-01-24 17:45:03下载
- 积分:1