-
DS4
设电文字符集D及各字符出现的概率F如下:
D={a,b,c,d,e,f,g,h}(字符数n=8)
F={5,29,7,8,14,23,3,11}( )
编写完成下列功能的程序:
①构造关于F的Huffman树;
②求出并打印D总各字符的Huffman编码。
程序结构: 类型说明;
构造Huffman树的函数:Huffman_tree(H[m+1]);
求Huffman编码的函数:Huffman_code(code[n+1]);
main()
{ 变量说明;
输入字符集D及频率F;
调用Huffman_tree(H);
调用Huffman_code(code);
打印编码;
Y 继续?
N
停止
}
- 2015-06-06 16:41:33下载
- 积分:1
-
zip4j
说明: 从Zip文件创建,添加,提取,更新,删除文件
读/写密码保护的Zip文件
支持AES 128/256加密
支持标准邮??编加密
支持Zip64格式
支持存储(无压缩)和Deflate压缩方法
从Split Zip文件创建或提取文件(例如:z01,z02,... zip)
支持Unicode文件名
进度监视器(Create, add, extract, update, delete files from Zip files
Read/write password-protected Zip files
Support for AES 128/256 encryption
Supporting Standard Postal Encryption
Support Zip64 format
Supporting storage (uncompressed) and Deflate compression methods
Create or extract files from Split Zip files (e.g. z01, z02,... Zip))
- 2020-06-21 08:20:02下载
- 积分:1
-
huffman
这是关于huffman编码的算法,输入权值,自动给出编码(This is about huffman coding algorithm, the input weights automatically given coding)
- 2013-07-31 17:45:00下载
- 积分:1
-
Kompresja
Compress alghoritm LZ78
- 2010-07-28 04:49:35下载
- 积分:1
-
gwbssrari
这里给出的源代码huffman.zip用8种不同的方式实现了Huffman编码算法。这些代码意在演示不同Huffman算法的实现原理,比较算法执行效率的差别,但并没有针对实际应用环境的需求,做更多的空空空间或效率优化。全部代码以C++语言开发,为了更容易地实现各种数据结构,代码中大量应用了标准C++库与模板技术。——总之,这些代码的作用在于示例与演示;如果大家想把这些代码应用在实际应用中,可能还需要
(The given here source code huffman.zip eight different ways to achieve the Huffman coding algorithm. These codes are intended to demonstrate different Huffman algorithm implementation principle, the difference of the algorithm execution efficiency, but does not demand for practical application environment, do more empty space or efficiency optimization. The entire code C++ language development code in order to make it easier to achieve a variety of data structures, a large number of applications the standard C++ library template.- In short, these code examples and demonstration If we want the code used in practical applications may also need)
- 2012-08-23 20:05:50下载
- 积分:1
-
windowshuffman
哈弗曼编码 加窗口实现 对特定文件压缩效果更好
(Huffman coding plus window to achieve better results for a specific file compression)
- 2014-06-05 13:42:44下载
- 积分:1
-
JPEG-LS压缩和解压缩算法的C代
说明: JPEG-LS压缩和解压缩算法的C代。。。。(This is a commonly used JPEG-LS codec C language.)
- 2020-05-12 23:12:32下载
- 积分:1
-
MATLAB-CALIC
Contect based adaptive lossless image compression
- 2012-03-21 20:30:38下载
- 积分:1
-
Matlab
自适应滤波器原理matlab程序(Principle of adaptive filter matlab program)
- 2008-03-19 11:24:54下载
- 积分:1
-
lzw
利用LZW的压缩算法实现文件的压缩与解压缩。用c++和MFC实现,代码简洁,实现简单,可用(LZW compression algorithm using the file compression and decompression.)
- 2020-10-13 15:27:33下载
- 积分:1