登录
首页 » Visual C++ » DS4

DS4

于 2015-06-06 发布 文件大小:101KB
0 425
下载积分: 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
  • 01
    说明:  规划不放过该法规和法规的规定国的风格的风格的风格地方鬼地方法国风格和法规和法国(发广告部分)
    2009-11-22 19:20:47下载
    积分:1
  • reliability-assessment
    电力输发电系统可靠性评估程序 解析法 系统数据在压缩包里(Power transmission and generation system reliability evaluation process analytical method system data compression bag)
    2020-09-01 09:28:09下载
    积分:1
  • mmmm
    动态规划中图形算法中的最短路径算法 用类做的,分几个函数(The short road of dymta i don t know what is this program means,it is a c++ program !numeric recipes in C++ )
    2010-01-03 20:34:11下载
    积分:1
  • ZIP
    zip压缩源代码,附有整个工程,保证能用,可应用于文件压缩,内存压缩(zip compressed source code, with the whole project, and ensure that use, can be applied to file compression, memory compression)
    2008-12-15 21:33:12下载
    积分:1
  • gwbssrari
    这里给出的源代码huffman.zip用8种不同的方式实现了Huffman编码算法。这些代码意在演示不同Huffman算法的实现原理,比较算法执行效率的差别,但并没有针对实际应用环境的需求,做更多的空空空间或效率优化。全部代码以C++语言开发,为了更容易地实现各种数据结构,代码中大量应用了标准C++库与模板技术。——总之,这些代码的作用在于示例与演示;如果大家想把这些代码应用在实际应用中,可能还需要 (The given here source code huffman.zip eight different ways to achieve the Huffman coding algorithm. These codes are intended to demonstrate different Huffman algorithm implementation principle, the difference of the algorithm execution efficiency, but does not demand for practical application environment, do more empty space or efficiency optimization. The entire code C++ language development code in order to make it easier to achieve a variety of data structures, a large number of applications the standard C++ library template.- In short, these code examples and demonstration If we want the code used in practical applications may also need)
    2012-08-23 20:05:50下载
    积分:1
  • zip
    压缩与解压缩类;压缩文件至.zip包内,增加文件至.zip包内,及解压缩相关操作。(zip and unzip。)
    2013-10-14 10:16:38下载
    积分:1
  • ewmark
    newmark-b法的简要程序,供大家使用(newmark-b)
    2010-03-06 12:49:10下载
    积分:1
  • Jepg2000的
    Jepg2000的压缩解压(Jepg2000 compression decompression)
    2020-07-09 14:48:55下载
    积分:1
  • CArcExt_demo
    加密、压缩(The Examples of Encrypt and Compression)
    2021-03-03 08:29:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载