搜索资源列表
hafumanshu
- 构造哈弗曼树,输出对应哈夫曼编码和平均查找长度-Huffman tree structure, the output of the corresponding Huffman coding and the average length
huffman
- 这是数字图像处理中哈弗曼树进行编码的代码。-This is the digital image processing code Huffman encoding tree.
project1
- 基于哈弗曼树编码的文件解压和反解压缩的程序-compression and decompression base on huffman
hafuman103
- 哈弗曼编解码编写函数,实现建立哈夫曼树和生成哈夫曼编码的功能。编写函数,实现二叉树的输出和释放功能。编写主函数,从终端输入一段英文文本;统计各个字符出现的频率,然后构建哈夫曼树并求出对应的哈夫曼编码;显示哈夫曼树和哈夫曼编码;最后释放哈夫曼树。选做内容:修改程序,选择实现以下功能:编码:用哈夫曼编码对一段英文文本进行压缩编码,显示编码后的文本编码序列;统计:计算并显示文本的压缩比例;解码:将采用哈夫曼编码压缩的文本还原为英文文本。-err
201516010106项兆坤
- 输入原始文本的种类数量n,输入原始文本的每个字符,输入原始文本的每个权值,构建出一个哈弗曼树,并对每个字符进行编码.输入一串只有原始文本构成的字符串,输出对这个文本的编码(N number of input of the original text, each character input of the original text, the original text of the weights of each input, construct a Huffman tree, and enc