登录
首页 » Visual C++ » DS4

DS4

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

  • 点云数据的显示 point cloud compression
    pcl 源码 点云数据的压缩显示,压缩数据的算法(display pcl source point cloud data compression algorithm to compress data)
    2012-12-05 19:42:58下载
    积分:1
  • cangkuguanli
    利用C++实现的插入,删除,增加接点等功能(The use of C++ Realized insert, delete, increase the contact and other functions)
    2008-12-29 21:36:59下载
    积分:1
  • ZLibNetWrapper
    Deflate压缩算法源码,使用C++编写(Deflate compression algorithm source code, the use of C++ to prepare)
    2009-03-22 14:42:52下载
    积分: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
  • jpeg_ls_v2.2
    实现图像的jpeg无损压缩,可以在linux系统下经过交叉编译器编译后在arm上实现,已经写好makefile文件(Realize jpeg image lossless compression, you can linux system through cross-compiler to compile in the arm to achieve, has written makefile file)
    2008-04-21 10:21:26下载
    积分:1
  • MyBitMapCompress
    说明:  一个简单的32位位图压缩算法,基本思想是,扫描像素点,后面有雷同的就记下重复次数。(A simple 32-bit bitmap compression algorithm, the basic idea is to scan pixel, behind identical repetitions on the record.)
    2010-04-13 22:43:43下载
    积分:1
  • Dezender4.3
    说明:  黑刀Dezender4.3简体中文版 黑刀Dezender4.3简体中文版 黑刀Dezender4.3简体中文版(Black knife Black knife Dezender4.3 Simplified Chinese Simplified Chinese version of Dezender4.3 Simplified Chinese version of the black knife Dezender4.3)
    2010-03-21 07:30:14下载
    积分:1
  • TestMQCoder
    JPEG里MQ算术编码测试程序 编解码器 C(MQ arithmetic coding in JPEG test procedure codec C)
    2020-12-06 09:19:22下载
    积分:1
  • youmohoudu
    不可压缩稳态滑块润滑,一定长度的变间隙油膜厚度解析(Incompressible variable gap steady slide lubrication film thickness resolve certain length)
    2015-10-28 10:28:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载