- LowLevelDriver4spansionFlash spansion flash 的底层驱动代码
- BREWMIFEditorGuide BREW MIF 编辑器指南 详细说明了 Binary Runtime Environment for Wireless™ (BREW™ ) MIF 编辑器以后简称 MIF 编辑器及其在创建和修改模块信息文件 (MIF) 时的作用 MIF 编辑器包括四个输入模块信息的对话框文档的后续部分说明在每个对话框中输入每项 信息的步骤以及每项信息在 BREW 模块的下载显示和执行中所起的作用
- 0001112 松翰 eeprom 读写 程序 用于读写24C02 24C04
- TCP-custom 与之前上传的tcp服务器端相对应的客户端软件
- mpc52xx_uart Driver for the PSC of the Freescale MPC52xx PSCs configured as UARTs.
- mem_wr 通过ZYNQ的PS部分读写DDR3存储器(Read and write the DDR3 memory via the PS portion of the ZYNQ)
文件名称:huffman
-
所属分类:
- 标签属性:
- 上传时间:2013-10-21
-
文件大小:4.92kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Huffman编码的关键点是构造一棵Huffman树。其过程是:
1.输入各个叶子节点及其频率,对每个节点的lchild, rchild, parent分别赋初值为0;
2.选择parent为0,且fre最小的两个节点开始建Huffman树,再修改相应节点的lchild, rchild, parent值,如此重复直到Huffman树建立。
3.从叶子到根逆向求每个节点的Huffman编码。
4.解压时,由于Huffman编码是前缀编码,即任一字符的编码都不是另一个字符的编码的前缀,故根据码表我们可以轻松实现解压。-Huffman coding key point is to construct a Huffman tree. The process is:
1 Enter each leaf node and frequency, for each node lchild, rchild, parent were given the initial value is 0
2 Select the parent is 0, and the smallest two nodes fre began to build the Huffman tree, and then modify the corresponding node lchild, rchild, parent values , so repeat until the Huffman tree created.
3 reverse request from the leaf to the root of the Huffman code for each node.
4 decompression, because Huffman coding is a prefix code, that any one character encoding to another character encoding is not the prefix, so according to code table we can easily extract.
1.输入各个叶子节点及其频率,对每个节点的lchild, rchild, parent分别赋初值为0;
2.选择parent为0,且fre最小的两个节点开始建Huffman树,再修改相应节点的lchild, rchild, parent值,如此重复直到Huffman树建立。
3.从叶子到根逆向求每个节点的Huffman编码。
4.解压时,由于Huffman编码是前缀编码,即任一字符的编码都不是另一个字符的编码的前缀,故根据码表我们可以轻松实现解压。-Huffman coding key point is to construct a Huffman tree. The process is:
1 Enter each leaf node and frequency, for each node lchild, rchild, parent were given the initial value is 0
2 Select the parent is 0, and the smallest two nodes fre began to build the Huffman tree, and then modify the corresponding node lchild, rchild, parent values , so repeat until the Huffman tree created.
3 reverse request from the leaf to the root of the Huffman code for each node.
4 decompression, because Huffman coding is a prefix code, that any one character encoding to another character encoding is not the prefix, so according to code table we can easily extract.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
huffman.doc
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
