文件名称:HuffmanTree
-
所属分类:
- 标签属性:
- 上传时间:2016-06-20
-
文件大小:2.04kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
哈夫曼树的建立。(可求哈弗曼编码)
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/
HuffmanTree/Huffman.cpp
HuffmanTree/说明.txt
HuffmanTree/Huffman.cpp
HuffmanTree/说明.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.