文件名称:wu
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
利用最小堆编程实现给定权值集合下构造相应霍夫曼树的算法,并解决以下问题:
有一电文共使用五种字符a,b,c,d,e,其出现频率依次为4,7,5,2,9。
(1)构造对应的编码哈夫曼树(要求左子树根结点的权小于等于右子树根结点的权)。
(2)给出每个字符的哈夫曼编码。
(3)译出编码系列11000111000101011的相应电文。-With minimal programming stack to the next set of predetermined weights corresponding Huffman tree configuration algorithm, and solves the following issues: a common message using five characters a, b, c, d, e, frequency of occurrence order of 4,7 , 5,2,9. (1) the code corresponding to the Huffman tree structure (claim of the left subtree root node weights less right subtree root node). (2) give each character Huffman coding. (3) the corresponding translated code sequence 11000111000101011 the message.
有一电文共使用五种字符a,b,c,d,e,其出现频率依次为4,7,5,2,9。
(1)构造对应的编码哈夫曼树(要求左子树根结点的权小于等于右子树根结点的权)。
(2)给出每个字符的哈夫曼编码。
(3)译出编码系列11000111000101011的相应电文。-With minimal programming stack to the next set of predetermined weights corresponding Huffman tree configuration algorithm, and solves the following issues: a common message using five characters a, b, c, d, e, frequency of occurrence order of 4,7 , 5,2,9. (1) the code corresponding to the Huffman tree structure (claim of the left subtree root node weights less right subtree root node). (2) give each character Huffman coding. (3) the corresponding translated code sequence 11000111000101011 the message.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
第五次上机作业孔令芝201511210132\five.h
................................\main.cpp
第五次上机作业孔令芝201511210132