文件名称:HUFFMAN
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 258kb
- 下载次数:
- 0次
- 提 供 者:
- 陈**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
题 目: 哈夫曼编码的程序设计
初始条件:
输入一段英文字符,试为该文中的每个字符编制相应的哈夫曼码。
(1)I:初始化(Initialization)。对输入的一段英文中的每个字符统计其权值,建立哈夫曼树;
(2)E:编码(Encoding)。利用已建好的哈夫曼树,对每个字符进行编码。
(3)D:译码(Decoding)。利用已建好的每个编码,对输入的一个由0、1组成的序列进行译码;
(4)P:印代码文件(Print)。将每个字符编的哈夫曼码和译码结果显示在终端上。
-Title: Huffman coding programming initial conditions: Enter the period of English characters, try the text for each character corresponding Huffman code. (1) I: Initialization (Initialization). A section of the input English characters statistics for each value of its right to establish a Huffman tree (2) E: encoding (Encoding). Has been built using Huffman tree for each character encoding. (3) D: Decoding (Decoding). Use has been completed for each encoding, the input of a sequence consisting of 0,1 Decoding (4) P: Printing code files (Print). Will be allocated for each character code and the Huffman decoding results are displayed in terminal.
初始条件:
输入一段英文字符,试为该文中的每个字符编制相应的哈夫曼码。
(1)I:初始化(Initialization)。对输入的一段英文中的每个字符统计其权值,建立哈夫曼树;
(2)E:编码(Encoding)。利用已建好的哈夫曼树,对每个字符进行编码。
(3)D:译码(Decoding)。利用已建好的每个编码,对输入的一个由0、1组成的序列进行译码;
(4)P:印代码文件(Print)。将每个字符编的哈夫曼码和译码结果显示在终端上。
-Title: Huffman coding programming initial conditions: Enter the period of English characters, try the text for each character corresponding Huffman code. (1) I: Initialization (Initialization). A section of the input English characters statistics for each value of its right to establish a Huffman tree (2) E: encoding (Encoding). Has been built using Huffman tree for each character encoding. (3) D: Decoding (Decoding). Use has been completed for each encoding, the input of a sequence consisting of 0,1 Decoding (4) P: Printing code files (Print). Will be allocated for each character code and the Huffman decoding results are displayed in terminal.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
哈夫曼编码
..........\debug
..........\哈夫曼编码
..........\..........\CodeFile.txt
..........\..........\Debug
..........\..........\hfmTree.txt
..........\..........\ReadMe.txt
..........\..........\stdafx.cpp
..........\..........\stdafx.h
..........\..........\TextFile.txt
..........\..........\ToBeTran.txt
..........\..........\哈夫曼编码.cpp
..........\..........\哈夫曼编码.vcproj
..........\..........\哈夫曼编码.vcproj.LSW.Administrator.user
..........\哈夫曼编码.ncb
..........\哈夫曼编码.sln
..........\哈夫曼编码.txt
..........\debug
..........\哈夫曼编码
..........\..........\CodeFile.txt
..........\..........\Debug
..........\..........\hfmTree.txt
..........\..........\ReadMe.txt
..........\..........\stdafx.cpp
..........\..........\stdafx.h
..........\..........\TextFile.txt
..........\..........\ToBeTran.txt
..........\..........\哈夫曼编码.cpp
..........\..........\哈夫曼编码.vcproj
..........\..........\哈夫曼编码.vcproj.LSW.Administrator.user
..........\哈夫曼编码.ncb
..........\哈夫曼编码.sln
..........\哈夫曼编码.txt