搜索资源列表
HUF0000
- 霍夫曼算法编码、解压encode\\decode-Huffman coding algorithm, unpacked encode \\ decode
huffman
- 利用二叉树结构实现赫夫曼编/解码器。 基本要求: 1、初始化:能够对输入的任意长度的字符串s进行统计,统计每个字符的频度,并建立赫夫曼树 2、建立编码表:利用已经建好的赫夫曼树进行编码,并将每个字符的编码输出。 3、编码:根据编码表对输入的字符串进行编码,并将编码后的字符串输出。 4、译码:利用已经建好的赫夫曼树对编码后的字符串进行译码,并输出译码结果。 5、打印:以直观的方式打印赫夫曼树(选作) 6、计算输入的字符串编码前和编码后的长度,并进行分析,讨论赫夫曼编码的
huffman
- 从文件中读入字符集大小n,以及n个字符和n个权值。构建哈夫曼树,对每个字符生成哈夫曼编码。从文件中读入需编码的字符串,利用哈夫曼编码,对字符串进行编码,编码结果保存在文件。-The character read from the file set size n, and n-n character and the right values. Construction of Huffman tree generated Huffman code for each character. Read f
Huffman
- 哈夫曼编码 对电文进行编码 和解码功能 Huffman编码译码_模板_半空-Huffman coding to encode and decode messages Huffman coding and decoding _ _ empty template
huffman
- 这是数据结构的一个课程设计,用哈夫曼算法对文件进行编码,希望能给大家一点帮助-This is a course designed data structure, with the Huffman algorithm to encode the file, I hope to give everyone a little help
HuffmanTree
- 这是利用huffman树将数据进行编码,根据huffman树的性质和功能,可以快速有效地查找信息和存储信息-This is used to encode the data huffman tree, according to the nature and function of huffman tree, you can find information quickly and efficiently and store information
huffmancoding
- 能够实现huffman编码的编码与解码功能-It can do huffman coding and encode huffman
huffman
- 实现了哈夫曼的编码,建立了哈夫曼表,并根据节点查询译码。-Carried out to admire the encode of man Man, created to admire huffMan table, and search translation according to the nodal point.
Huffman
- 数据结构程序,用于通过哈夫曼树进行编码和译码。-Data structure program used to encode and decode Huffman tree.
Huffman
- 小强的算法分析课程里面的代码-哈夫曼编码,实现代码,-Huffman encode
Huffman_Tree
- 利用哈夫曼树,对要发送的密文进行编码,在vs2005下实现-The use of Huffman trees, the ciphertext to be sent to encode
hafuman-code
- 哈弗曼编码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
HuffmanTree
- 基于Huffman树的一个压缩算法,通过统计字符的出现频率构造Huffman树,然后进行编码和解码。包括源代码和测试样例-Huffman tree based on a compression algorithm, the frequency of statistical character of the Huffman tree structure, and then to encode and decode. Including source code and test the sample
MMS
- 给出输入文件content.txt,里面包含一段文字,编程实现哈弗曼编码方法,将输入文件编码后的结果输出到encode.txt;读入上面编码后的结果encode.txt,编程实现解码过程(需要编码时的哈夫曼树,存在tree.txt中),解码后的结果输出到decode.txt。 -Given input file content.txt, which contains some text, programming Hafu Man coding method, the input files
huffman
- 对输入字符串进行哈弗曼编码并显示编码结果-Encode the input string and display the encoded result in Huffman
huffman
- 基于C语言的最短编码--哈弗曼编码huffman(本人的信息论上机实验程序)-huffman encode
huffmanencode
- 哈弗曼编码,给出输入文件content.txt,里面包含一段文字,编程实现上面选择的一种编码方法,将输入文件编码后的结果输出到encode.txt;读入上面编码后的结果encode.txt,编程实现解码过程(需要编码时的哈夫曼树,具体数据结构及保存自己设计),将解码后的结果输出到decode.txt;-The Haffuman encoding given input file content.txt, which contains a paragraph of text, and progra
Huffman_and_Data_Compression
- 用霍夫曼编码的方式实现对一个文本文件的编码和解码。本程序产生的编码后的文件应该尽可能的小,解码后的文件应该和原来的文件是一样的。本算法的实现应该是高效的。 一些可能用到的数据结构和方法在下面列出。如果你发现另外一种更好的数据结或者方法,这很好,你并不需要用到任何特定的数据结构。 -Huffman encoding of the way to encode and decode a text file. This procedure produced encoded files shoul
Huffman
- 1、根据输入构造一棵哈夫曼树,要求该哈夫曼树的左子树小于等于右子树; 2、根据构造的哈夫曼树给出对应的编码;左子树的编码为0,右子树的编码为1; 3、输出各个字符对应的编码与平均编码长度; 4、根据输入的编码,结合构造的哈夫曼树给出对应的译码; 5、对带有不同权值的字符进行编码;使用自己实现的编码表对输入的‘0’‘1’代码进行译码。 -Less than or equal to 1, according to the input construct a Huffman tre
huffman
- 使用C语言实现从指定文件中读取文本内容,并运用哈弗曼编码对文件进行编码,存储到指定的文件中。-Using C language to read the text from the specified file and use Huffman coding to encode files stored in the specified file.
