文件名称:HuffmanTree
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
哈夫曼树的建立。(可求哈弗曼编码)
1.在已有的字符和权中,用select函数选出其中权最小的两个字符;
2.在哈夫曼树的存储结构中,用这两个字符建立与其parent的关系;
3.从n+1到2*n-1依次算出各字符的parent,可得Huffman树;-Huffman tree establishment. (Rectifiable Huffman coding)
1. In the existing character and the right, with the right to elect one of the smallest function two characters
2. In the storage structure Huffman tree, the characters build relationships with both of its parent
3. Dao n+ 1 2* n-1 sequentially calculates the parent of each character can be obtained Huffman tree
1.在已有的字符和权中,用select函数选出其中权最小的两个字符;
2.在哈夫曼树的存储结构中,用这两个字符建立与其parent的关系;
3.从n+1到2*n-1依次算出各字符的parent,可得Huffman树;-Huffman tree establishment. (Rectifiable Huffman coding)
1. In the existing character and the right, with the right to elect one of the smallest function two characters
2. In the storage structure Huffman tree, the characters build relationships with both of its parent
3. Dao n+ 1 2* n-1 sequentially calculates the parent of each character can be obtained Huffman tree
(系统自动生成,下载前可以参看下载内容)
下载文件列表
HuffmanTree
...........\Huffman.cpp
...........\说明.txt