-
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
-
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
-
MyUnzip
解压ZIP格式的文件,VC++写的,完全可用的,希望你能喜欢。(Extracting ZIP format file write the VC++, completely available, hope you like it.)
- 2013-04-26 20:54:11下载
- 积分: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
-
263yasuoyuv
263yasuoyuv.rar是把yuv-411格式文件压缩为*.263可直看(263yasuoyuv.rar is yuv-411 format for the*. 263 files can be read straight)
- 2008-06-12 20:20:49下载
- 积分:1
-
bnpts点云文件bunny
bnpts点云文件 进过压缩处理 大约100000个点(bnpts)
- 2010-11-01 10:57:16下载
- 积分:1
-
shunxubiao
顺序表插入删除,典型的教科书式的程序。老师给的。。。。。。(The order of the table insert removed, a typical textbook-style programs.)
- 2010-01-10 11:23:19下载
- 积分:1
-
MCAB
简单易用的制作压缩包软件,原著老毛桃。使用简单,压缩时间快(easy to use for make cab)
- 2013-10-14 16:30:06下载
- 积分:1
-
HuffMan
哈夫曼编码译码系统,设置发送者和接受者两个功能,
发送者的功能包括:
①输入待传送的字符信息;
②统计字符信息中出现的字符种类数和各字符出现的次数(频率);
②根据字符的种类数和各自出现的次数建立哈夫曼树;
③利用以上哈夫曼树求出各字符的哈夫曼编码;
④将字符信息转换成对应的编码信息进行传送。
接受者的功能包括:
①接收发送者传送来的编码信息;
②利用上述哈夫曼树对编码信息进行翻译,即将编码信息还原成发送前的字符信息。
(Huffman decoding system, set the sender and the recipient of two functions, the sender' s features include: (1) input to be transmitted character information ② statistical character information, the number of types of characters and characters the number of occurrences (frequency create a Huffman tree) ② According to the number of types of characters and their respective number of occurrences ③ use the Huffman tree to find the characters Huffman coding ④ character information into the corresponding coding information for delivery. The recipient of the features include: (1) to receive the coded information to the sender transmission ② above Huffman tree coded information to be translated, is about to coded information to restore the character information before sending.)
- 2012-06-21 21:01:17下载
- 积分:1
-
JPEG2000-library-source-code
JPEG2000库源代码(最新的JPEG2000标准源代码)(JPEG2000 library source code)
- 2012-12-03 21:32:19下载
- 积分:1