-
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
-
CST_Cversion
基于类函数形函数的参数化建模方法,适用于气动设计和优化(Class/Shpae Transform method)
- 2020-12-09 16:59:19下载
- 积分:1
-
MyUnzip
解压ZIP格式的文件,VC++写的,完全可用的,希望你能喜欢。(Extracting ZIP format file write the VC++, completely available, hope you like it.)
- 2013-04-26 20:54:11下载
- 积分:1
-
lzw_soft
lzw压缩解压算法源码(The soruce of LZW compression algorithm)
- 2020-06-26 13:00:01下载
- 积分:1
-
Jpeg
视音频课程作业,对视频抽帧,对单张图片进行yuv420采样、DCT变化、量化以及反量化、IDCT变化(Jpeg Encoding & Decoding)
- 2017-12-15 11:25:46下载
- 积分:1
-
OpenGLdevelopment
压缩包中包含了gl.h,glaux.h,glext.h,glui.h,glut.h等头文件以及对应的库文件。还有对应的配置方法。(Compression package contains gl.h, glaux.h, glext.h, glui.h, glut.h Header Files and corresponding library file. There are corresponding configuration.)
- 2020-12-14 14:49:13下载
- 积分: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
-
点云数据的压缩显示 point cloud compression
pcl 源码 点云数据的压缩显示,压缩数据的算法(display pcl source point cloud data compression algorithm to compress data)
- 2012-12-05 19:42:58下载
- 积分:1
-
huffman
Huffman编码,使用哈弗曼树生成前缀码,把输入的字符编码并把原字符解码(Huffman code and decode)
- 2014-03-06 10:10:34下载
- 积分:1
-
SourceCode
赫夫曼编/译码器源码,已生成的每个字符的赫夫曼编码,对任意字符文本进行编码,再译码(Huffman encoder/decoder source code, Huffman coding, each character has been generated, the text of any character encoding, decoding)
- 2013-04-24 10:36:09下载
- 积分:1