文件名称:buildHuffmanTree
-
所属分类:
- 标签属性:
- 上传时间:2014-10-05
-
文件大小:1.35kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
霍夫曼编码是一种编码方式,是一种用于无损数据压缩的熵编码(权编码)算法。用变长编码表对源符号(如文件中的一个字母)进行编码,其中变长编码表是通过一种评估来源符号出现机率的方法得到的,出现机率高的字母使用较短的编码,反之出现机率低的则使用较长的编码,这便使编码之后的字符串的平均长度、期望值降低,从而达到无损压缩数据的目的。-Huffman coding is a coding is a lossless data compression entropy coding (right coding) for the algorithm. With variable-length coding tables on the source symbol (such as a file in a letter) to encode, which is a method of variable length coding table through an assessment of the probability of occurrence of the source symbols obtained letters appear high probability using a shorter code, and vice versa low appears machine code using a longer, which would make the average length of the string after encoding, expectations are lower, so as to achieve the purpose of lossless data compression.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
buildHuffmanTree.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.