登录
首页 » Visual C++ » DS4

DS4

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

  • arithmetic
    有关算术编码对文本压缩的程序在c++环境中实现(about arithmetic compressed)
    2013-11-28 23:19:16下载
    积分:1
  • huffman
    Huffman编码,使用哈弗曼树生成前缀码,把输入的字符编码并把原字符解码(Huffman code and decode)
    2014-03-06 10:10:34下载
    积分:1
  • ya_shuo
    一个可以简单的压缩小程序,是利用游程编码原理(One can simply compress small program is the use of run-length coding theory)
    2014-12-18 14:06:52下载
    积分:1
  • FDR-COMPRESS
    一种改进的方案,它针对硬故障集的特点利用指示频率连续长度码(FDR码)进行二次编码压缩。该方法充分利用测试集中无关位较多而测试模式之间变化位较少的特征,应用贪心算法对预先计算的测试集进行了重新排序,尽可能的使相邻的向量间具有最少的不同位,排列成一个最佳的差分向量序列,然后应用FDR码对差分向量序列进行编码,最后对压缩结果重新分块,按照一次压缩的流程进行二次压缩。在解压时,使用片上解压电路解压,能高效地还原出原测试集。最后通过对Soc部分标准电路硬故障集的测试结果显示,本方案具有较好的压缩率。(a new improved method was proposed in the paper,the method using Frequency-Directed Run-length(FDR codes)coding for the twice aimed at hard-fault. It fully takes advantage of the characters that there are many don’t-care bits in the test set but a few different bits between the test patterns, Then it applies the greed calculate way to sort the precomputed test sets and make the close together vector have the least different sites possibly. It uses the FDR codes to coding the vectors,then blocks the results and uses the FDR codes to compress for the second time. Decompression used of on-chip circuit extract unpack,it will be deoxidize the original test efficient.using the hard-fault to compress and the experimental results prove that the improved coding method of this paper has the better compression ratios has been proved at last. )
    2009-05-12 14:32:23下载
    积分:1
  • j-link-The-firmware-fix-pack
    J-LINK V8 出厂固件烧录与修复文件,压缩包中的.bin烧录文件为破解文件烧录即可使用,且附带烧录教程、破解教程(J- LINK V8 factory firmware replication and repair files, compressed package. In the buffer bin file for solving file replication can be used, and the supplementary burning tutorials, crack tutorial)
    2016-02-17 17:43:38下载
    积分:1
  • gczh
    工程之间的转换 主要针对 05 和08 希望对大家有帮助(Projects aimed at the conversion between 05 and 08 We want to help)
    2010-02-24 10:51:27下载
    积分:1
  • 01
    说明:  vc 典型模块 是一个图像压缩显示的程序(vc typical module is shown in an image compression program)
    2009-11-24 21:08:29下载
    积分:1
  • ZLibNetWrapper
    Deflate压缩算法源码,使用C++编写(Deflate compression algorithm source code, the use of C++ to prepare)
    2009-03-22 14:42:52下载
    积分:1
  • Compressed-Sensing
    压缩感知的经典书籍,请大家下载查阅,好的东西大家一起分享哦,谢谢大家了!!(compresed sensoring)
    2020-12-31 10:18:59下载
    积分:1
  • RecordManagementSystem-devoleped-by-VC
    说明:  压缩包包括完整的实例代码,可供大家研究和学习,内附说明!(Archive includes a complete example code, for all research and study, included instructions!)
    2010-04-21 15:07:24下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载