-
HuffmanTree
该系统应具有以下功能:
(1) I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree中。
(2) E:编码(Encoding)。利用已建好的哈夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。
(3) D:译码(Decoding)。利用已建好的哈夫曼树将文件CodeFile中的代码进行译码,结果存入文件TextFile中。
(4) P:打印代码文件(Print)。将文件CodeFile以紧凑格式显示在终端上,每行50个代码。同时将此字符形式的编码文件写入文件CodePrin中。
(5) T:打印哈夫曼树(Tree printing)。将已在 中的哈夫曼树以直观的方式(树或凹入表形式)显示在终端上,同时将此字符形式的哈夫曼树写入文件TreePrint中。
(The system should have the following features: (1) I: initialization (Initialization). Read from the terminal character set size n, and n and n characters right value, establishes a Huffman tree, and save it in the file hfmTree in. (2) E: encoding (Encoding). Has been built using the Huffman tree (if not in memory, reads from the file hfmTree), the text of the document ToBeTran encoded, and then putting the result in the CodeFile file. (3) D: decoding (Decoding). Huffman tree has been built using the file CodeFile the code will be decoded, the result is stored in the file TextFile. (4) P: Printing code files (Print). CodeFile in a compact format the document displayed on the terminal, one per line 50 code. While this character in the form of written documents CodePrin encoded file in. (5) T: Print Huffman tree (Tree printing). Would have been in the Huffman tree in an intuitive way (tree or recessed table form) displayed on the terminal, but this form of characters written to the file )
- 2013-06-21 13:45:16下载
- 积分:1
-
fspecial
matlab中fspecial函数的C++实现(Matlab implementation of fspecial function in C++
)
- 2016-12-28 11:31:14下载
- 积分:1
-
yejigndianmo
这个一个关于液晶电磨的原理图,我为公司设计的。段式液晶,STC单片机控制。(The LCD power a mill on the schematic, I designed for the company. Segment LCD, STC SCM control.)
- 2011-11-20 22:36:48下载
- 积分:1
-
RC522 I2C STM32F103
RC522 IIC驱动程序,可实现读卡和写卡功能,复旦卡或M1卡都可以,本人也试过读公交卡,可以读出序列号和卡类型。(RC522 IIC driver, can read card and write card function, Fudan card or M1 card can, I also tried to read the bus card, you can read the serial number and card type.)
- 2020-12-24 15:59:06下载
- 积分:1
-
GA-c
C语言编写的遗传算法程序,对学习遗传算法者非常有帮助。(C language program of genetic algorithm, genetic algorithm for learning are very helpful.)
- 2008-07-07 10:00:24下载
- 积分:1
-
MPU6050
MPU6050通过STM32F429发送数据到上位机。或是通过显示屏显示。(MPU6050 sends data to PC through STM32F429. Or display it on a screen.)
- 2019-04-28 18:33:09下载
- 积分:1
-
Speech_codec_standard_classification
语音编码分类及编解码标准 G.711 G.721 G.729 GIPS比较(Speech coding and decoding standard classification. Txt G.711 G.721 G.729 GIPS)
- 2010-11-08 16:49:50下载
- 积分:1
-
边沿检测与提取轮廓跟踪的图象算法
边沿检测与提取轮廓跟踪,来自于源码中国 www.Cn700.com(edge detection and extraction of contour tracking, source from China www.Cn700.com)
- 2005-05-30 08:07:38下载
- 积分:1
-
335X SPI实列
linux下源码例子
- 2020-06-30下载
- 积分:1
-
E_cat C++实现
说明: 使用C++实现的电子宠物猫,做得不是很完善,可以参考一下(Electronic pet cat implemented by C + +)
- 2020-11-09 22:32:31下载
- 积分:1