登录
首页 » Visual C++ » DS4

DS4

于 2015-06-06 发布 文件大小:101KB
0 367
下载积分: 1 下载次数: 2

代码说明:

  设电文字符集D及各字符出现的概率F如下: D={a,b,c,d,e,f,g,h}(字符数n=8) F={5,29,7,8,14,23,3,11}( ) 编写完成下列功能的程序: ①构造关于F的Huffman树; ②求出并打印D总各字符的Huffman编码。 程序结构: 类型说明; 构造Huffman树的函数:Huffman_tree(H[m+1]); 求Huffman编码的函数:Huffman_code(code[n+1]); main() { 变量说明; 输入字符集D及频率F; 调用Huffman_tree(H); 调用Huffman_code(code); 打印编码; Y 继续? N 停止 }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ezw
    ezw程序,主要对图像进行小波变换,然后基于ezw算法进行编码(EZW process, mainly on the image wavelet transform, and then based on the EZW coding algorithm)
    2008-06-13 14:30:39下载
    积分:1
  • 12344556
    说明:  用单片机来直接驱动步进电机很精确走小步子.(Using single-chip to directly drive stepper motor is very accurate take small steps.)
    2008-09-04 10:47:40下载
    积分:1
  • sdf2samples
    用于开发Windows Mobile的参考源程序(Windows Mobile for the development of a reference source)
    2008-06-30 10:24:17下载
    积分:1
  • zsccompress
    说明:  对流数据的压缩,主要针对二进制的数据代码进行各种长度宽度的压缩。(convection data compression, mainly with regard to the binary code of various length width of the compression.)
    2005-11-17 12:52:02下载
    积分:1
  • zip
    压缩与解压缩类;压缩文件至.zip包内,增加文件至.zip包内,及解压缩相关操作。(zip and unzip。)
    2013-10-14 10:16:38下载
    积分:1
  • jpeg_decoder_play
    基于tinyjpeg的jpeg解压缩程序,可解码jpeg数据为YUV分量数据(Based Solutions tinyjpeg jpeg compression program, you can decode jpeg data to YUV component data)
    2015-08-20 16:23:30下载
    积分:1
  • DS4
    设电文字符集D及各字符出现的概率F如下: D={a,b,c,d,e,f,g,h}(字符数n=8) F={5,29,7,8,14,23,3,11}( ) 编写完成下列功能的程序: ①构造关于F的Huffman树; ②求出并打印D总各字符的Huffman编码。 程序结构: 类型说明; 构造Huffman树的函数:Huffman_tree(H[m+1]); 求Huffman编码的函数:Huffman_code(code[n+1]); main() { 变量说明; 输入字符集D及频率F; 调用Huffman_tree(H); 调用Huffman_code(code); 打印编码; Y 继续? N 停止 }
    2015-06-06 16:41:33下载
    积分:1
  • HuffmanCompress
    基于哈弗曼树的压缩软件,可压缩文字和位图。(Huffman tree based compression software, compressible text and bitmaps.)
    2014-04-23 20:09:34下载
    积分:1
  • PhucDo_PhanLop
    Docuemtns,Hot Documents
    2009-12-26 14:25:16下载
    积分:1
  • shunxubiao
    顺序表插入删除,典型的教科书式的程序。老师给的。。。。。。(The order of the table insert removed, a typical textbook-style programs.)
    2010-01-10 11:23:19下载
    积分:1
  • 696518资源总数
  • 106242会员总数
  • 10今日下载