-
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
-
MyUnzip
解压ZIP格式的文件,VC++写的,完全可用的,希望你能喜欢。(Extracting ZIP format file write the VC++, completely available, hope you like it.)
- 2013-04-26 20:54:11下载
- 积分:1
-
263yasuoyuv
263yasuoyuv.rar是把yuv-411格式文件压缩为*.263可直看(263yasuoyuv.rar is yuv-411 format for the*. 263 files can be read straight)
- 2008-06-12 20:20:49下载
- 积分:1
-
MyBitMapCompress
说明: 一个简单的32位位图压缩算法,基本思想是,扫描像素点,后面有雷同的就记下重复次数。(A simple 32-bit bitmap compression algorithm, the basic idea is to scan pixel, behind identical repetitions on the record.)
- 2010-04-13 22:43:43下载
- 积分:1
-
arithmetic
有关算术编码对文本压缩的程序在c++环境中实现(about arithmetic compressed)
- 2013-11-28 23:19:16下载
- 积分:1
-
xinxi
哈夫曼编码,基于MFC开发。哈夫曼编码为熵编码中的最佳方法之一,广泛用于各种数据压缩技术中。-Huffman coding, based on the MFC. Huffman coding for entropy coding one of the best ways, for a wide variety of data compression technology.
- 2011-07-12 10:33:01下载
- 积分:1
-
j-link-The-firmware-fix-pack
J-LINK V8 出厂固件烧录与修复文件,压缩包中的.bin烧录文件为破解文件烧录即可使用,且附带烧录教程、破解教程(J- LINK V8 factory firmware replication and repair files, compressed package. In the buffer bin file for solving file replication can be used, and the supplementary burning tutorials, crack tutorial)
- 2016-02-17 17:43:38下载
- 积分:1
-
shunxubiao
顺序表插入删除,典型的教科书式的程序。老师给的。。。。。。(The order of the table insert removed, a typical textbook-style programs.)
- 2010-01-10 11:23:19下载
- 积分:1
-
EZW2
利用零树小波的概念,完成了对静态图像的编码与解码,经过调试的。(The use of the concept of zerotree wavelet completed on the static image encoding and decoding, after debugging.)
- 2008-06-26 09:03:38下载
- 积分:1
-
haffman
对输入的字符进行哈弗曼编码,生成编码表,计算压缩比等(haffman tree)
- 2011-08-30 14:10:52下载
- 积分:1