-
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
-
cockroach
用于对图像的huffman编解码,创建了图像界面,按照提示操作(Huffman codec used on the image to create a graphical interface, follow the prompts)
- 2012-05-29 12:45:47下载
- 积分:1
-
tttt
16字节字符串压缩成12字节字符串算法,有压缩和解压的算法(16-byte string into a 12-byte string compression algorithm, compression and decompression algorithms)
- 2011-08-09 01:14:58下载
- 积分:1
-
zip
压缩与解压缩类;压缩文件至.zip包内,增加文件至.zip包内,及解压缩相关操作。(zip and unzip。)
- 2013-10-14 10:16:38下载
- 积分:1
-
arithmetic
有关算术编码对文本压缩的程序在c++环境中实现(about arithmetic compressed)
- 2013-11-28 23:19:16下载
- 积分:1
-
GZIP解压例子
利用gzip.dll解压http请求返回的内容。内附gzip.dll。参考网上资料自己写的VB6工程源码。自己编译EXE的时候注意把gzip.dll释放到exe所在目录。(Use gzip.dll to decompress the content returned by HTTP request. Gzip.dll is attached. Refer to the VB6 project source code written by myself.)
- 2020-06-22 07:00:02下载
- 积分:1
-
AES
AES压缩技术编程源代码,包含压缩和解压全套源代码的完整工程(AES compression technology programming source code, including compression and decompression full source code of complete project
)
- 2015-12-24 11:09:07下载
- 积分:1
-
huffman
huffman 编码
完陈对指定的文本文件内容进行huffman编码
实现输出(END CHAN huffman encoding text file on the specified content encoding huffman implementation output)
- 2009-04-03 13:04:43下载
- 积分:1
-
RecordManagementSystem-devoleped-by-VC
说明: 压缩包包括完整的实例代码,可供大家研究和学习,内附说明!(Archive includes a complete example code, for all research and study, included instructions!)
- 2010-04-21 15:07:24下载
- 积分:1
-
PhucDo_PhanLop
Docuemtns,Hot Documents
- 2009-12-26 14:25:16下载
- 积分:1