Description: 对任意输入的一段英文,为每个字符编制其相应的赫夫曼编码;并利用该编码为任意输入的0、1序列进行解码.(1)初始化: 从终端读入一段英文字符,统计每个字符出现的频率,建立赫夫曼树,并将该树存入某文件;(2)编码: 利用建好的赫夫曼树对各字符进行编码,用列表的形式显示在屏幕上,并将编码结果存入另一文件中;(3)解码:利用保存的赫夫曼编码,对任意输入的0,1序列能正确解码。-A section of the indiscriminate importation of English, for each character the preparation of their corresponding Huffman coding and use the coding for arbitrary input sequence decoding 0,1. (1) Initialization: read from the terminal section of the English characters, statistical frequency of each character, the establishment of Huffman tree, and the tree into a document (2) Coding: Using the Huffman tree is built on the character encoding, using the list displayed on the screen and coding the results into another document (3) decoder: Using saved Huffman coding, for arbitrary input sequences correctly decode 0,1. Platform: |
Size: 17408 |
Author:侯健 |
Hits:
Description: 哈夫曼编码在文件压缩中有其独特一点,它的编码方式特殊。在通信领域可以得到应用。本程序使用C++编写,在VC6.0上调试,完成了文件的读取,文件字符的统计,哈夫曼树的建立,哈夫曼编码的实现,文件转换为哈夫曼编码成为压缩文件以及文件从压缩状态进行解码。-Huffman file compression in a unique point, and its special encoding. In communications applications can be. This procedure using C++ Prepared in VC6.0 debug completed documents to read, the document character s statistics, the establishment of Huffman trees, Huffman coding to achieve, the document is converted to become Huffman compressed files and files from the compressed state decoding. Platform: |
Size: 269312 |
Author:罗天银 |
Hits:
Description: 本程序中定义了霍夫曼类实现霍夫曼编码和解码,其中编码过程用递归实现。-This procedure is defined category Hoffman Hoffman achieve encoding and decoding, encoding one of the process of using recursive implementation. Platform: |
Size: 14336 |
Author:张熠 |
Hits:
Description: 用C++写的huffman编码,实现编码与解码-Using C++ written by huffman coding, to achieve encoding and decoding Platform: |
Size: 11264 |
Author:yxj |
Hits:
Description: 赫夫曼编译码的C++程序
内有使用说明-Huffman encoding and decoding of the C++ programs using the instructions within the Platform: |
Size: 6144 |
Author:金秋十月 |
Hits:
Description: 用C++实现哈夫曼码的编码和解码,代码简单,调试方便-C++ implementation using Huffman encoding and decoding, the code is simple and convenient debugging Platform: |
Size: 1140736 |
Author:桂柯易 |
Hits:
Description: 用c语言实现哈夫曼树的编码与解码
编译器为c-fr-Encoding and decoding of the Huffman tree using c language
Compiler for c-free Platform: |
Size: 17408 |
Author:倪佳华 |
Hits: