搜索资源列表
-
0下载:
【问题描述】
设计一个利用哈夫曼算法的编码和译码系统,重复地显示并处理以下项目,直到选择退出为止。
【基本要求】
(1)初始化:键盘输入字符集大小n、n个字符和n个权值,建立哈夫曼树;
(2)编码:利用建好的哈夫曼树生成哈夫曼编码;
(3)输出编码;
(4)设字符集及频度如下表:
字符:A B C D E F
频度:4 9 23 2 17 15
字符:G H I J K
频度:1 2 3 3 4
-【Descr iption】 d
-
-
0下载:
通过该程序实现huffman编码,解码。输入一段字符串,统计字符出现频率,输出huffman编码。输入一段编码,根据预先设定的解码方式进行解码。-Through the process to achieve huffman encoding and decoding. Enter a string, statistical character frequency, the output huffman coding. Enter a code, based on pre-set decoding
-
-
0下载:
功能是基于赫夫曼树的数据结构的文本压缩,根据生成的HuffmanTree来产生字符的编码.即从叶子到根逆向求每个字符的Huffman编码。
-Function is based on the Huffman tree data structure of the text compression, according to the generated HuffmanTree to generate the character codes. That is, from leaf to the r
-
-
0下载:
功能是基于赫夫曼树的数据结构的文本压缩,根据生成的HuffmanTree来产生字符的编码.即从叶子到根逆向求每个字符的Huffman编码。 -Function is based on the Huffman tree data structure of the text compression, according to the generated HuffmanTree to generate the character codes. That is, from leaf to the roo
-
-
0下载:
Huffman于1952年提出一种编码方法,该方法完全依据字符出现概率来构造异字头的平均长 度最短的码字,有时称之为最佳编码,一般就叫作Huffman编码。-Huffman coding in 1952 proposed a method based on characters appear completely different prefix probability to construct the average length of the shortest code word, som
-
-
0下载:
哈夫曼编码(Huffman Coding)是一种编码方式,哈夫曼编码是可变字长编码(VLC)的一种。uffman于1952年提出一种编码方法,该方法完全依据字符出现概率来构造异字头的平均长 度最短的码字,有时称之为最佳编码,一般就叫作Huffman编码-Huffman coding (Huffman Coding) is an encoding, Huffman coding is a variable word length coding (VLC) of the kind. uffman i
-
-
0下载:
哈夫曼算法及其应用
给定n个权值作为n个叶子结点,构造一棵二叉树,若带权路径长度达到最小,称这样的二叉树为最优二叉树,也称为哈夫曼树。哈夫曼编码是一种根据哈夫曼树对文件进行编码的方式。哈夫曼编码是可变字长编码的一种。本次课程设计是对一个已建文本文件,统计该文件中各字符频率,对各字符进行Huffman编码,将该文件翻译成Huffman编码文件,再将Huffman编码文件翻译成原文件。压缩文件即读文件,统计文件中的字符个数,对文件进行哈夫曼编码和译码,并将编码译码后的字符存储在文件中。-
-
-
0下载:
哈弗曼编码C++语言实现,输入一串整数,用程序进行排列为哈弗曼树,并进行编码,数据结构中哈夫曼树的基础编程-Ha Fuman coding C++ language, enter a string of integers, arranged for the Hafu Man with the program tree, and encode the data structure of Huffman tree based programming
-
-
0下载:
huffman 压缩 解压。基于Huffman 编码的无损压缩(lossless data compression)和解压缩算法。 假设压缩和解压缩程序分别为huffmanEnc, huffmanDec。-huffman compression decompression. Lossless compression based on Huffman coding (lossless data compression) and decompression algorithms. Assuming
-
-
0下载:
提供了一种基于哈弗曼编码的文件压缩算法,可以对.TXT、.DOC、.JPF等文件进行压缩-Huffman coding provides a file-based compression algorithm can .TXT, .DOC, .JPF and other file compression
-
-
0下载:
哈夫曼编码(Huffman Coding)是一种编码方式,哈夫曼编码是可变字长编码(VLC)的一种。Huffman于1952年提出一种编码方法,该方法完全依据字符出现概率来构造异字头的平均长度最短的码字,有时称之为最佳编码-Huffman coding (Huffman Coding) is an encoding, Huffman coding is a variable length coding (VLC) kind. Huffman coding method proposed in 1
-
-
0下载:
这是使用Matlab实现的Huffman编码与绘图的程序。编码过程比较简单,是通过建立Huffman树,再进行简单的遍历得到。 主要贡献在绘图部分。这是迄今为止唯一一个画出Huffman生成树的Matlab程序。-This is a piece of Huffman coding and graphics program based on matlab. The encoding process is relatively simple, through the establishment of
-
-
0下载:
基于VC的编码:哈夫曼树及哈夫曼编码,供初学者使用-VC-based coding: Huffman trees and Huffman coding for beginners
-