文件名称:Huffman
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2015-06-19
- 文件大小:
- 909kb
- 下载次数:
- 0次
- 提 供 者:
- 简***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Huffman编码与解码(Huffman编码、二叉树)
[问题描述]
对一篇英文文章(大于2000个英文字符),统计各字符出现的次数,实现Huffman编码,以及对编码结果的解码。
[基本要求]
(1) 输出每个字符出现的次数和编码,其中求最小权值要求用堆实现。
(2) 在Huffman编码后,要将编码表和英文文章编码结果保存到文件中,编码结果必须是二进制形式,即0 1的信息用比特位表示,不能用字符’0’和’1’表示。
(3) 提供读编码文件生成原文件的功能。
-Huffman encoding and decoding (Huffman coding, binary tree)
[Problem Descr iption]
An article in English (more than 2000 characters), statistics of the number of characters to achieve Huffman coding and decoding of encoded results.
[Basic requirements]
(1) output and the number of occurrences of each character code, for which the minimum requirement of the right to use Heap.
(2) After the Huffman coding, coding table and save the results to a file coding article in English, the encoding results must be in binary form, that is, information 01 represented by bit, can not use the characters 0 and 1 indicates .
(3) provides read encoded file generation capabilities of the original document.
[问题描述]
对一篇英文文章(大于2000个英文字符),统计各字符出现的次数,实现Huffman编码,以及对编码结果的解码。
[基本要求]
(1) 输出每个字符出现的次数和编码,其中求最小权值要求用堆实现。
(2) 在Huffman编码后,要将编码表和英文文章编码结果保存到文件中,编码结果必须是二进制形式,即0 1的信息用比特位表示,不能用字符’0’和’1’表示。
(3) 提供读编码文件生成原文件的功能。
-Huffman encoding and decoding (Huffman coding, binary tree)
[Problem Descr iption]
An article in English (more than 2000 characters), statistics of the number of characters to achieve Huffman coding and decoding of encoded results.
[Basic requirements]
(1) output and the number of occurrences of each character code, for which the minimum requirement of the right to use Heap.
(2) After the Huffman coding, coding table and save the results to a file coding article in English, the encoding results must be in binary form, that is, information 01 represented by bit, can not use the characters 0 and 1 indicates .
(3) provides read encoded file generation capabilities of the original document.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
4.Huffman树编码与解码(Huffman树和二叉树)\Debug\Huffman树编码与解码(Huffman树和二叉树).exe
..........................................\.....\Huffman树编码与解码(Huffman树和二叉树).ilk
..........................................\.....\Huffman树编码与解码(Huffman树和二叉树).obj
..........................................\.....\Huffman树编码与解码(Huffman树和二叉树).pch
..........................................\.....\Huffman树编码与解码(Huffman树和二叉树).pdb
..........................................\.....\vc60.idb
..........................................\.....\vc60.pdb
..........................................\HuffmanCode.txt
..........................................\Huffman树编码与解码(Huffman树和二叉树).cpp
..........................................\Huffman树编码与解码(Huffman树和二叉树).dsp
..........................................\Huffman树编码与解码(Huffman树和二叉树).dsw
..........................................\Huffman树编码与解码(Huffman树和二叉树).ncb
..........................................\Huffman树编码与解码(Huffman树和二叉树).opt
..........................................\Huffman树编码与解码(Huffman树和二叉树).plg
..........................................\SourceFile.txt
..........................................\TextCode.txt
..........................................\Debug
4.Huffman树编码与解码(Huffman树和二叉树)