搜索资源列表
hfmcpp
- 赫夫曼编码本程序实现了使用赫夫曼编码压缩数据;输入一串字符串sourceCode——为方便理解,暂时要求字符串只包含大写字母和空格,如果你愿意, 很容易就可以推广到所有的字符——计算出字符串中各个字母的权重,然后对其进行赫夫曼编码,输出赫夫曼树。 将赫夫曼树的叶子结点存储到有序二叉树中,输出原字符串经压缩后得到的用 0 和 1 表示的新字符串destCode; 然后利用赫夫曼树将字符串destCode进行译码,得到目标字符串objCode,比较objCode和sourceCod
ssjg
- 数据结构中的huffman链表存储,huffman四元组法,纠错码的实现-Huffman data structure in memory list, huffman quaternion group law, the achievement of error-correcting codes
huffmancode
- huffman编码,能够对输入的序列按权值进行最优二叉树排序,按最优二叉树排序进行简单编码。-huffman coding, be able to input the right values according to the optimal sequence of binary sort order by a simple optimal binary codes.
shujujieou
- 利用赫夫曼树来设计二进制的前缀编码,实现文件的压缩和恢复功能。-Huffman tree to use to design binary prefix codes, the implementation file compression and recovery.
Huffman-code-decode
- test1.txt中为要读入的英文文章,code.txt为生成的huffman编码,decoded.txt中为根据code.txt中内容解码后的结果。-test1.txt is used to store the article in English to be read, code.txt contains generated the huffman codes, decoded.txt for the contents according to code.txt decoded result
Huffman
- 霍夫曼编码,根据给定权值创建赫夫曼编码,显示每一步如何进行及所得编码-Huffman coding, according to the weight given to create Huffman codes, showing how each step and the resultant code
huffman_encode
- 功能是基于赫夫曼树的数据结构的文本压缩,根据生成的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
huffman_encode
- 功能是基于赫夫曼树的数据结构的文本压缩,根据生成的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
huffman
- 哈夫曼树,即最优树,是带权路径长度最短的树。输入字符和权值输出哈弗曼编码-Enter the character codes and weights of the output Hafu Man
hufPP
- this code is used to generate huffman codes
code2
- Package consists of 3 codes. First,to Print huffman decoding tree given.Second, to find top level view of a tree. Third, A reviewer rates the two challenges, awarding pointsfor three categories.We define the rating for two person s challenge to be th