-
This is a fast string matching algorithm KMP algorithm, we can learn through thi...
这是一个字符串快速匹配的算法KMP算法,大家可以通过此算法的学习来提高自己的算法水平-This is a fast string matching algorithm KMP algorithm, we can learn through this algorithm to improve the level of their algorithm
- 2022-01-30 20:50:48下载
- 积分:1
-
使用自适应和Huffman编码,和附带的图形界面
使用tc2的adaptive huffman编码,并附带图形界面-use of adaptive vs. Huffman coding, and incidental graphical interface
- 2022-11-14 03:05:04下载
- 积分:1
-
Infix to Postfix Conversion
这是将中缀表达式转换为后缀表达式的代码。中缀到后缀转换使用堆栈。各种使用的函数包括基本堆栈操作,如overflow()、int underflow()、void push()、int pop()、int peep()、void display()等。
- 2022-03-19 10:57:53下载
- 积分:1
-
a recruitment management system
一个招聘管理系统-a recruitment management system
- 2022-03-02 12:43:29下载
- 积分:1
-
数据结构实验,表达式求值的源码以及实验报告。
数据结构实验,表达式求值的源码以及实验报告。-Experimental data structure, the source expression is evaluated and experimental report.
- 2022-08-06 20:10:16下载
- 积分:1
-
网站内容管理系统
网站内容管理系统-Web content management system
- 2022-07-01 07:00:03下载
- 积分:1
-
外部排序程序,foxpro的DBF文件中某个字段的程序,特点是可以指定排序内存大小,但可以排序超级大的文件远远超出机器内存,采用快速排序加失败树合并算法,排序中...
外部排序程序,foxpro的DBF文件中某个字段的程序,特点是可以指定排序内存大小,但可以排序超级大的文件远远超出机器内存,采用快速排序加失败树合并算法,排序中会产生很多临时小文件。修改后可用于任何文件字段排序。-External sort procedure, foxpro of DBF files in a field procedure, and there is a sort of memory you can specify the size, but you can sort super large files far beyond the machine memory, the use of quick sort algorithm plus the failure of the merger tree, sorting will produce many temporary small files. The revised document can be used for any sort by that field.
- 2023-07-07 03:50:03下载
- 积分:1
-
本文是介绍数据结构中的二分查找,比较数等思想及算法的
本文是介绍数据结构中的二分查找,比较数等思想及算法的-this paper is to introduce the data structure to search two hours, a few more ideas and algorithms
- 2022-01-25 20:25:17下载
- 积分:1
-
假设一个文件中出现了8种符号S0,SQ,S2,S3,S4,S5,S6,S7,那么每种符号要编码,至少需要3bit。假设编码成000,001, 010,011,1...
假设一个文件中出现了8种符号S0,SQ,S2,S3,S4,S5,S6,S7,那么每种符号要编码,至少需要3bit。假设编码成000,001, 010,011,100,101,110,111。那么符号序列S0S1S7S0S1S6S2S2S3S4S5S0S0S1编码后变成 000001111000001110010010011100101000000001,共用了42bit。我们发现S0,S1,S2这3个符号出现的频率比较大,其它符号出现的频率比较小,我们采用这样的编码方案:S0到S7的码辽分别01,11,101,0000,0001,0010,0011, 100,那么上述符号序列变成011110001110011101101000000010010010111,共用了39bit。尽管有些码字如 S3,S4,S5,S6变长了(由3位变成4位),但使用频繁的几个码字如S0,S1变短了,所以实现了压缩。对于上述的编码可能导致解码出现非单值性:比如说,如果S0的码字为01,S2的码字为011,那么当序列中出现011时,你不知道是S0的码字后面跟了个1,还是完整的一个S2的码字。因此,编码必须保证较短的编码决不能是较长编码的前缀。符合这种要求的编码称之为前缀编码。要构造符合这样的二进制编码体系,可以通过二叉树来实现。-Suppose a file appears in eight kinds of symbols S0, SQ, S2, S3, S4, S5, S6, S7, then each symbol to be encoded, at least 3bit. Suppose encoding 000,001, 010,011,100,101,110,111. Then the symbolic sequence S0S1S7S0S1S6S2S2S3S4S5S0S0S1 encoded into 000001111000001110010010011100101000000001, sharing a 42bit. We found that S0, S1, S2 these three symbols the frequency of relatively large, the other symbols the frequency is relatively smal
- 2022-04-27 21:17:34下载
- 积分:1
-
数据结构算法,稀疏矩阵的存储,两矩阵相乘,两矩阵相加的实现...
数据结构算法,稀疏矩阵的存储,两矩阵相乘,两矩阵相加的实现-data structure algorithms, sparse matrix storage, two matrix multiplication, the sum of two matrix to achieve
- 2022-12-16 07:55:03下载
- 积分:1