實現(xiàn)最優(yōu)二叉樹的構(gòu)造;在此基礎上完成哈夫曼編碼器與譯碼器。 假設報文中只會出現(xiàn)如下表所示的字符: 字符 A B C D E F G H I J K L M N 頻度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 57 字符 O P Q R S T U V W X Y Z , . 頻度 63 15 1 48 51 80 23 8 18 1 16 1 6 2 要求完成的系統(tǒng)應具備如下的功能: 1.初始化。從終端(文件)讀入字符集的數(shù)據(jù)信息,。建立哈夫曼樹。 2.編碼:利用已建好的哈夫曼樹對明文文件進行編碼,并存入目標文件(哈夫曼碼文件)。 3.譯碼:利用已建好的哈夫曼樹對目標文件(哈夫曼碼文件)進行編碼,并存入指定的明文文件。 4.輸出哈夫曼編碼文件:輸出每一個字符的哈夫曼編碼。
上傳時間: 2014-11-23
上傳用戶:shanml
在數(shù)據(jù)加密和數(shù)據(jù)壓縮中常需要對特殊的字符串進行編碼。給定的字母表A 由26 個小 寫英文字母組成A={a,b,…,z}。該字母表產(chǎn)生的升序字符串是指字符串中字母按照從左到 右出現(xiàn)的次序與字母在字母表中出現(xiàn)的次序相同,且每個字符最多出現(xiàn)1 次。例如, a,b,ab,bc,xyz 等字符串都是升序字符串。對于任意長度不超過6 的升序字符串,迅速計算出它在上述字典中的編碼。
標簽: 字母 字符串 數(shù)據(jù)加密 數(shù)據(jù)壓縮
上傳時間: 2016-05-12
上傳用戶:邶刖
解n階線形方程組Ax=b的列主元高斯消去法的通用程序如下(下列程序都是在 matlab平臺下編寫的)
上傳時間: 2016-05-16
上傳用戶:myworkpost
這是一個利用B+ Trees數(shù)據(jù)結(jié)構(gòu)存儲數(shù)據(jù)的源碼,全部代碼用C語言寫的.
標簽: Trees C語言 數(shù)據(jù)結(jié)構(gòu) 存儲數(shù)據(jù)
上傳時間: 2014-01-09
上傳用戶:myworkpost
程序名稱: B-樹的實現(xiàn) 創(chuàng)建時間: 2008.03.16 最后修改: 2008.03.18 程序作者: monkeylee 聯(lián)系方式: leeocean2004@163.com 程序說明:實現(xiàn)B-樹的相關(guān)操作,查找插入刪除
標簽: 2008 monkeylee leeocean 03
上傳時間: 2016-05-19
上傳用戶:gxf2016
網(wǎng)上銀行系統(tǒng),使用的是jbuilder該系統(tǒng)是一個B/S結(jié)構(gòu)的系統(tǒng); 該系統(tǒng)采用J2EE技術(shù)架構(gòu)(Struts+EJB) 該系統(tǒng)數(shù)據(jù)庫為Oracle9i 該系統(tǒng)的應用服務器為Weblogic8.1
上傳時間: 2016-05-22
上傳用戶:linlin
B+樹的演示程序,在vs.net 2003 下編譯通過。是數(shù)據(jù)庫基礎的課程設計。
上傳時間: 2014-12-03
上傳用戶:王小奇
Real-Time Digital Signal Processing Implementations, Applications, and Experiments with the TMS320C55x John Wiley & Sons, Inc. 2001 By Sen M. Kuo and Bob H. Lee 2.8.1 Experiment 2A - Interfacing C with Assembly Code 2.8.2 Experiment 2B - Addressing Mode Experiments 2.8.3 Experiment 2C - Experiments using TMS320C55x Evaluation Module
標簽: Implementations Applications Experiments Processing
上傳時間: 2016-05-24
上傳用戶:xhz1993
Real-Time Digital Signal Processing Implementations, Applications, and Experiments with the TMS320C55x John Wiley & Sons, Inc. 2001 By Sen M. Kuo and Bob H. Lee 4.6.1 Experiment 4A - Twiddle Factor Generation 4.6.2 Experiment 4B - Complex Data Operation 4.6.3 IExperiment 4C - mplementation of DFT 4.6.4 Experiment 4D - Experiment Using Assembly Routines
標簽: Implementations Applications Experiments Processing
上傳時間: 2016-05-24
上傳用戶:ikemada
Practical DSP Applications in Communications Real-Time Digital Signal Processing Implementations, Applications, and Experiments with the TMS320C55x John Wiley & Sons, Inc. 2001 By Sen M. Kuo and Bob H. Lee
標簽: Implementations Communications Applications Processing
上傳時間: 2014-12-03
上傳用戶:1101055045
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1