搜索资源列表
哈夫曼译码
- [基本要求] 一个完整的系统应具有以下功能: (1)I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree中。 (2)E:编码(Encoding)。利用已建好的哈夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。 (3)D:译码(Decoding)。利用已建好的哈夫曼树将文件CodeFile中的代码进行译码,结果存入文件T
用于文件压缩的huffman算法
- 用哈夫曼编码编的压缩和解压缩的程序的源代码,在网上选的。-encoded using Huffman compression of the program's source code, on-line election.
Class1
- 用贪婪算法中的哈夫曼编码为文件进行压缩,得到一个比较好的压缩程序.-greedy algorithm with the Huffman encoding of the document for compression, to be a relatively good compression process.
huffman解压缩
- 运用huffman编码的解压缩程序,能压缩任何格式的文件,但是压缩比不是最理想-use Huffman coding decompression procedures can be compressed files in any format, but not the best compression ratio
04051b33刘奏
- 一个哈夫曼算法.具体题目如下: 题目要求:1)建立一正文文件(本程序中建立的文件名文test.txt),向其中输入字符(本程序中可输入任意ASCII值) 2)通过哈夫曼算法求出文件中字符的相应编码 3)建立一与正文文件(test.txt)对应的编码文件(本程序中为bainma.txt)-a Huffman algorithm. Specific topics are as follows : Subject : 1) the establishment of a text document (t
huffman
- 编写完整的系统,要求具有以下功能: 1、 I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存入文件hfmTree中。 2、 E:编码(Encoding)。利用以建好的哈夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。 3、 D:译码(Decoding)。利用已建好的哈夫曼树将文件CodeFile中的代码进行译码,结果存入文件TextFile
5
- 1.C或 C++; 2.从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树并将它存于文件hfmTree中.将已在内存中的哈夫曼树以直观的方式(比如树)显示在终端上; 3.利用已经建好的哈夫曼树(如不在内存,则从文件htmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中,并输出结果,将文件CodeFile以紧凑格式先是在终端上,每行50个代码。同时将此字符形式的编码文件写入文件CodePrint中。 4.利用已建好的哈夫曼树将文件
Huffman
- 霍夫曼编码程序 源程序 CPP格式文件 代码 用C++实现-HCODE
feno
- 进行香农、费诺和赫夫曼信源编码 对离散信源,如一段中文或者英文文字(txt文件)进行分析,统计信源空间,然后进行编码,存储编码码表; 根据编码码表进行信源译码 -To Shannon, fees Novo Huffman source coding for discrete sources, as a Chinese or English text (txt file) for analysis and statistical information source space, an
Huffuman
- 哈夫曼编码用Csharp来实现,里面有自己带的字典,和数据库文件,字典上保存的是哈夫曼编码的编码代码-Huffman coding to achieve with Csharp, which has its own dictionary with, and database files, the dictionary is saved Huffman coding code
1111
- 优先队列 基本要求:对Huffman树的方法进行扩充,实现如下功能: 1)键盘输入一个字符串,统计每个字符出现的频率; 2)输出每个字符的Huffman编码 3)计算并输出WPL 提高要求:改键盘输入为读文件(任何类型)-Basic requirements of the priority queue: the method of Huffman tree expansion, to achieve the following functions: 1) keyboard i
binaryTree
- 树的哈夫曼编码 文档文件中每行以“a:”“b:”的形式输入多个字符及其出现频率。在界 面上点击获取编码,界面上输入数字进行哈夫曼的编码,输入字母可以实现哈夫曼的译码。输入错误字符是提示输入有误。 -Huffman tree for each line of the document file to " a:" " b:" Enter the number of characters in the form of its frequency. Click
JiSuanQi
- 树的哈夫曼编码 文档文件中每行以“a:”“b:”的形式输入多个字符及其出现频率。在界 面上点击获取编码,界面上输入数字进行哈夫曼的编码,输入字母可以实现哈夫曼的译码。输入错误字符是提示输入有误。 -Huffman tree for each line of the document file to " a:" " b:" Enter the number of characters in the form of its frequency. Click
Huffman~
- 树的哈夫曼编码。在文档文件中每行以“a:”“b:”的形式输入多个字符及其出现频率。在界 面上点击获取编码,界面上输入数字进行哈夫曼的编码,输入字母可以实现哈夫曼的译码。输入错误字符是提示输入有误。-Huffman tree. Each line in the document file to " a:" " b:" Enter the number of characters in the form of its frequency. Click for
WindowsFormsApplication1
- 实现哈弗曼编码及其压缩。对一个文本文件中的字符进行哈夫曼编码,生成编码文件(后缀名.cod);反过来,可将一个编码文件还原为一个文本文件(.txt)。-Encoding and compression to achieve Hafu Man. A text file on the characters in the Huffman code, generate code files (suffix. Cod) in turn, can restore an encoded file as a
hafuman
- 哈夫曼编码和译码系统 基本要求:(1) 能输入字符集和各字符频度建立哈夫曼树; (2) 产生各字符的哈夫曼编码,并进行解码。 提高要求:(1) 能设计出简捷易操作的窗口界面; (2) 编码和译码存储在文件中-Huffman coding and decoding system basic requirements: (1) Enter the character set and character frequently create a Huffman tree (2) to
hafuman
- 哈夫曼树编码译吗程序,可读取文件进行编码,也可读取文件进行译码 并且打印出来-Huffman coding and decoding programs, can read the files are encoded, decodes the file can be read and printed out
DS_EX1
- 数据结构实验:设计一个基于哈夫曼树的数据压缩程序,根据给定的待压缩文件中字符出现的频率建立相应哈夫曼树,构造哈夫曼编码表,在此基础上可以对待压缩文件进行压缩(即编码),同时可以对压缩后的二进制编码文件进行解压(即译码)-Experimental data structure: a design based on Huffman data compression program, to establish the corresponding Huffman tree based on the fr