文件名称:Huffman
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-12-05
- 文件大小:
- 3.57mb
- 下载次数:
- 0次
- 提 供 者:
- Tr***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1、根据输入构造一棵哈夫曼树,要求该哈夫曼树的左子树小于等于右子树;
2、根据构造的哈夫曼树给出对应的编码;左子树的编码为0,右子树的编码为1;
3、输出各个字符对应的编码与平均编码长度;
4、根据输入的编码,结合构造的哈夫曼树给出对应的译码;
5、对带有不同权值的字符进行编码;使用自己实现的编码表对输入的‘0’‘1’代码进行译码。
-Less than or equal to 1, according to the input construct a Huffman tree, the requirements of the Huffman tree left subtree right subtree 2, according to the structure of the Huffman tree gives the corresponding coding left subtree coding 0, and the right sub-tree coding is 1 3, the output of the encoding and the average code lengths corresponding to each character 4, according to the coding of the input, the binding construct of the Huffman tree to give the corresponding decoding 5, with different The the weights encode characters coding table to enter ' 0' ' ' code decoding using their own implementation.
2、根据构造的哈夫曼树给出对应的编码;左子树的编码为0,右子树的编码为1;
3、输出各个字符对应的编码与平均编码长度;
4、根据输入的编码,结合构造的哈夫曼树给出对应的译码;
5、对带有不同权值的字符进行编码;使用自己实现的编码表对输入的‘0’‘1’代码进行译码。
-Less than or equal to 1, according to the input construct a Huffman tree, the requirements of the Huffman tree left subtree right subtree 2, according to the structure of the Huffman tree gives the corresponding coding left subtree coding 0, and the right sub-tree coding is 1 3, the output of the encoding and the average code lengths corresponding to each character 4, according to the coding of the input, the binding construct of the Huffman tree to give the corresponding decoding 5, with different The the weights encode characters coding table to enter ' 0' ' ' code decoding using their own implementation.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shiyan6\Debug\shiyan6.exe
.......\.....\shiyan6.ilk
.......\.....\shiyan6.pdb
.......\ipch\shiyan6-d815a511\shiyan6-78e6184e.ipch
.......\shiyan6\Debug\CL.read.1.tlog
.......\.......\.....\CL.write.1.tlog
.......\.......\.....\HuffmanTree.obj
.......\.......\.....\link-cvtres.read.1.tlog
.......\.......\.....\link-cvtres.write.1.tlog
.......\.......\.....\link.read.1.tlog
.......\.......\.....\link.write.1.tlog
.......\.......\.....\mt.read.1.tlog
.......\.......\.....\mt.write.1.tlog
.......\.......\.....\rc.read.1.tlog
.......\.......\.....\rc.write.1.tlog
.......\.......\.....\shiyan6.exe.embed.manifest
.......\.......\.....\shiyan6.exe.embed.manifest.res
.......\.......\.....\shiyan6.exe.intermediate.manifest
.......\.......\.....\shiyan6.lastbuildstate
.......\.......\.....\shiyan6.log
.......\.......\.....\shiyan6.obj
.......\.......\.....\shiyan6_manifest.rc
.......\.......\.....\vc100.idb
.......\.......\.....\vc100.pdb
.......\.......\HuffmanTree.cpp
.......\.......\HuffmanTree.h
.......\.......\shiyan6.cpp
.......\.......\shiyan6.vcxproj
.......\.......\shiyan6.vcxproj.filters
.......\.......\shiyan6.vcxproj.user
.......\shiyan6.sdf
.......\shiyan6.sln
.......\shiyan6.suo
.......\ipch\shiyan6-d815a511
.......\shiyan6\Debug
.......\Debug
.......\ipch
.......\shiyan6
shiyan6