-
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
-
TonPE-v1.91
制作U盘启动工具,非常好用啊,可以尝试下。但也有说与计算机配置有关系(U disk to start the production of tools, very good ah, can try next. But there are also computer configurations that are related to)
- 2009-07-09 11:46:13下载
- 积分:1
-
OOMP
OOMP算法是压缩传感的一种算法,其对OMP算法进行改进,提高了正确率。(OOMP Compressed sensing algorithm is an algorithm to improve its OMP algorithm to improve the accuracy.)
- 2013-09-16 09:50:09下载
- 积分:1
-
arithmetic
有关算术编码对文本压缩的程序在c++环境中实现(about arithmetic compressed)
- 2013-11-28 23:19:16下载
- 积分:1
-
The-Hoffman-code
利用Huffman编码方式对一段文字进行编码和解码。哈夫曼编码是可变字长编码(VLC)的一种。(Using the Huffman encoding method for encoding and decoding of a paragraph of text. Huffman code is a variable length coding (VLC) is a kind of.)
- 2015-01-27 15:30:06下载
- 积分:1
-
MATLAB-CALIC
Contect based adaptive lossless image compression
- 2012-03-21 20:30:38下载
- 积分:1
-
pso
粒子群优化算法 改进粒子群优化算法的典型例子 易懂易学(Particle swarm optimization algorithm A typical example of improved particle swarm optimization algorithm is easy to understand)
- 2020-11-13 15:19:43下载
- 积分:1
-
ZCRYPT23
ZIP文件的一个编解码算法,主要用于ZIP文件的加解密。(ZIP file of a codec algorithm, mainly used in ZIP file encryption and decryption.)
- 2007-11-26 12:46:33下载
- 积分:1
-
TwIST_v1
基于两步迭代收缩法和复数小波的压缩传感
图像重构
( Based on two-step iterative shrinkage method and the complex wavelet compression sensor
Image reconstruction
)
- 2009-11-10 15:01:16下载
- 积分:1
-
sitesee
网规网优之用,用于绘制基站扇区图,地理化显示基站方便工程师进行查看。(Net regulatory network optimization purposes, used to map the base station sector maps, geographic-based display base stations to facilitate engineers to view it.)
- 2021-04-20 14:58:50下载
- 积分:1