文件名称:hafumanbianma
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:50.31kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
c语言编写的哈夫曼编码。设需要编码的字符集为{d1, d2, …, dn},它们出现的频率为 {w1, w2, …, wn},应用哈夫曼树构造最短的不等长编码方案。
数据结构与算法
typedef char *HuffmanCode //动态分配数组,存储哈夫曼编码
typedef struct
{
unsigned int weight //用来存放各个结点的权值
unsigned int parent,LChild,RChild //指向双亲、孩子结点的指针
} HTNode, *HuffmanTree //动态分配数组,存储哈夫曼树
-c language Huffman coding. Need to set the character set encoding for the {d1, d2, ..., dn}, the frequency of their {w1, w2, ..., wn}, Huffman tree construction applications ranging from the shortest length encoding scheme. Data Structures and Algorithms typedef char* HuffmanCode // dynamically allocated arrays, storage Huffman typedef struct {unsigned int weight // used to store the weights of each node unsigned int parent, LChild, RChild // point to the parents the child node pointer} HTNode,* HuffmanTree // dynamically allocated arrays, storage Huffman tree
数据结构与算法
typedef char *HuffmanCode //动态分配数组,存储哈夫曼编码
typedef struct
{
unsigned int weight //用来存放各个结点的权值
unsigned int parent,LChild,RChild //指向双亲、孩子结点的指针
} HTNode, *HuffmanTree //动态分配数组,存储哈夫曼树
-c language Huffman coding. Need to set the character set encoding for the {d1, d2, ..., dn}, the frequency of their {w1, w2, ..., wn}, Huffman tree construction applications ranging from the shortest length encoding scheme. Data Structures and Algorithms typedef char* HuffmanCode // dynamically allocated arrays, storage Huffman typedef struct {unsigned int weight // used to store the weights of each node unsigned int parent, LChild, RChild // point to the parents the child node pointer} HTNode,* HuffmanTree // dynamically allocated arrays, storage Huffman tree
(系统自动生成,下载前可以参看下载内容)
下载文件列表
hafumanbianma.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.