文件名称:huffman
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.13mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
利用二叉树结构实现赫夫曼编/解码器。
基本要求:
1、初始化:能够对输入的任意长度的字符串s进行统计,统计每个字符的频度,并建立赫夫曼树
2、建立编码表:利用已经建好的赫夫曼树进行编码,并将每个字符的编码输出。
3、编码:根据编码表对输入的字符串进行编码,并将编码后的字符串输出。
4、译码:利用已经建好的赫夫曼树对编码后的字符串进行译码,并输出译码结果。
5、打印:以直观的方式打印赫夫曼树(选作)
6、计算输入的字符串编码前和编码后的长度,并进行分析,讨论赫夫曼编码的压缩效果。
-Using binary tree structure to achieve Huffman encoder/decoder.
Basic requirements:
1 Initialization: the ability to input a string of arbitrary length s statistical, statistical frequency of each character, and the establishment of Huffman tree
2, the coding table: the use of the Huffman tree has been built to encode, and encoding each character output.
3, code: According to the code table to encode the input string and output the encoded string.
4, decoding: use of the Huffman tree has been built on the encoded string decoding, and outputs decoding result.
5, print: the intuitive way to print Huffman tree (chosen as)
6 to calculate the input code string length before and after coding, and analysis, discussion of Huffman coding compression.
基本要求:
1、初始化:能够对输入的任意长度的字符串s进行统计,统计每个字符的频度,并建立赫夫曼树
2、建立编码表:利用已经建好的赫夫曼树进行编码,并将每个字符的编码输出。
3、编码:根据编码表对输入的字符串进行编码,并将编码后的字符串输出。
4、译码:利用已经建好的赫夫曼树对编码后的字符串进行译码,并输出译码结果。
5、打印:以直观的方式打印赫夫曼树(选作)
6、计算输入的字符串编码前和编码后的长度,并进行分析,讨论赫夫曼编码的压缩效果。
-Using binary tree structure to achieve Huffman encoder/decoder.
Basic requirements:
1 Initialization: the ability to input a string of arbitrary length s statistical, statistical frequency of each character, and the establishment of Huffman tree
2, the coding table: the use of the Huffman tree has been built to encode, and encoding each character output.
3, code: According to the code table to encode the input string and output the encoded string.
4, decoding: use of the Huffman tree has been built on the encoded string decoding, and outputs decoding result.
5, print: the intuitive way to print Huffman tree (chosen as)
6 to calculate the input code string length before and after coding, and analysis, discussion of Huffman coding compression.
相关搜索: 字符串 压缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
huffman/CodeFile.txt
huffman/Debug/huffman.bsc
huffman/Debug/huffman.exe
huffman/Debug/huffman.ilk
huffman/Debug/huffman.pch
huffman/Debug/huffman.pdb
huffman/Debug/main.obj
huffman/Debug/main.sbr
huffman/Debug/newfunction.obj
huffman/Debug/newfunction.sbr
huffman/Debug/oldfunction.obj
huffman/Debug/oldfunction.sbr
huffman/Debug/vc60.idb
huffman/Debug/vc60.pdb
huffman/HuffCode.txt
huffman/huffman.dsp
huffman/huffman.dsw
huffman/huffman.ncb
huffman/huffman.opt
huffman/huffman.plg
huffman/main.cpp
huffman/newfunction.cpp
huffman/old.h
huffman/oldfunction.cpp
huffman/resource.h
huffman/Script1.aps
huffman/Script1.rc
huffman/SourceFile.txt
huffman/Debug
huffman
huffman/Debug/huffman.bsc
huffman/Debug/huffman.exe
huffman/Debug/huffman.ilk
huffman/Debug/huffman.pch
huffman/Debug/huffman.pdb
huffman/Debug/main.obj
huffman/Debug/main.sbr
huffman/Debug/newfunction.obj
huffman/Debug/newfunction.sbr
huffman/Debug/oldfunction.obj
huffman/Debug/oldfunction.sbr
huffman/Debug/vc60.idb
huffman/Debug/vc60.pdb
huffman/HuffCode.txt
huffman/huffman.dsp
huffman/huffman.dsw
huffman/huffman.ncb
huffman/huffman.opt
huffman/huffman.plg
huffman/main.cpp
huffman/newfunction.cpp
huffman/old.h
huffman/oldfunction.cpp
huffman/resource.h
huffman/Script1.aps
huffman/Script1.rc
huffman/SourceFile.txt
huffman/Debug
huffman
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.