登录
首页 » Visual C++ » DS4

DS4

于 2015-06-06 发布 文件大小:101KB
0 415
下载积分: 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 个回复

  • reliability-assessment
    电力输发电系统可靠性评估程序 解析法 系统数据在压缩包里(Power transmission and generation system reliability evaluation process analytical method system data compression bag)
    2020-09-01 09:28:09下载
    积分:1
  • haffman
    对输入的字符进行哈弗曼编码,生成编码表,计算压缩比等(haffman tree)
    2011-08-30 14:10:52下载
    积分:1
  • PhucDo_PhanLop
    Docuemtns,Hot Documents
    2009-12-26 14:25:16下载
    积分:1
  • x264dateflow
    说明:  文件介绍了x264程序的算法流程表,每个函数的内容详细介绍在里面 (Document describes the algorithm flow chart x264 programs, and detailed description of each function in it)
    2011-04-15 21:44:43下载
    积分:1
  • cangkuguanli
    利用C++实现的插入,删除,增加接点等功能(The use of C++ Realized insert, delete, increase the contact and other functions)
    2008-12-29 21:36:59下载
    积分:1
  • CST_Cversion
    基于类函数形函数的参数化建模方法,适用于气动设计和优化(Class/Shpae Transform method)
    2020-12-09 16:59:19下载
    积分:1
  • fft_wang
    这是一个自己写的关于fft变换的快速源程序,可以达到很高的性能。(This is an fft transform himself wrote about the rapid source, you can achieve high performance.)
    2009-11-23 15:33:36下载
    积分:1
  • EZW2
    利用零树小波的概念,完成了对静态图像的编码与解码,经过调试的。(The use of the concept of zerotree wavelet completed on the static image encoding and decoding, after debugging.)
    2008-06-26 09:03:38下载
    积分:1
  • AES
    AES压缩技术编程源代码,包含压缩和解压全套源代码的完整工程(AES compression technology programming source code, including compression and decompression full source code of complete project )
    2015-12-24 11:09:07下载
    积分:1
  • huffman
    Huffman编码,使用哈弗曼树生成前缀码,把输入的字符编码并把原字符解码(Huffman code and decode)
    2014-03-06 10:10:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载