Huffman编码. 把一个英文字母,空格,句号.一共有28个 character. 先求每个字符出现的频率. 然后用频率对这个文件进行哈夫曼编码. 然后再进行解码. 运行的时候需要在VC++ 工程->设置->调试->程序变量里加E:\sample.txt E:\encode.txt E:\decode.txt 然后把英文文件放到E盘里.名叫samole.txt, 还有在E里新件2个txt文件.名叫encode.txt,decode.txt. 编码后的二进制save到encode.txt,解码后的英文字符save到decode.txt了.
上传时间: 2015-09-26
上传用户:thuyenvinh
Huffman编码与译码,实现数据结构树的功能。
上传时间: 2014-01-17
上传用户:kelimu
Huffman compresssion source code,it would be useful for sb.
标签: compresssion Huffman source useful
上传时间: 2015-09-30
上传用户:李彦东
8种不同的方式实现了Huffman编码算法,使用Visual Studio .NET(建议使用VS .NET 2003或以上版本)或 gcc 3
上传时间: 2014-01-02
上传用户:zhangliming420
Huffman 压缩/解压算法的ANSI C实现 This archive contains a simple and readable ANSI C implementation of Huffman coding and decoding. This implementation is not intended to be the best, fastest, smallest, or any other performance related adjective. More information on Huffman encoding may be found at: http://michael.dipperstein.com/Huffman http://datacompression.info/Huffman.shtml
标签: ANSI implementation contains readable
上传时间: 2014-01-05
上传用户:thesk123
matlab下对Huffman编码进行模拟.可以进一步帮助理解编码过程
上传时间: 2014-08-07
上传用户:Avoid98
如何构造唯一的Huffman树及唯一的Huffman编码
上传时间: 2013-12-11
上传用户:epson850
本程序为了在对输入的文件进行Huffman编码,给出了其编码过程和翼抹过程。给出编码效率。
上传时间: 2014-06-22
上传用户:yuzsu
根据最常用的链表法进行Huffman编码,可以手工预制权重,例如n=8的时候即可以在文件中写入,输出相应的编码结果
上传时间: 2014-01-27
上传用户:wxhwjf
根据最常用的链表法进行Huffman编码,可以手工预制权重,例如n=8的时候即可以在文件中写入,输出相应的编码结果
上传时间: 2015-10-25
上传用户:yepeng139