實現最優二叉樹的構造;在此基礎上完成哈夫曼編碼器與譯碼器。 假設報文中只會出現如下表所示的字符: 字符 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 要求完成的系統應具備如下的功能: 1.初始化。從終端(文件)讀入字符集的數據信息,。建立哈夫曼樹。 2.編碼:利用已建好的哈夫曼樹對明文文件進行編碼,并存入目標文件(哈夫曼碼文件)。 3.譯碼:利用已建好的哈夫曼樹對目標文件(哈夫曼碼文件)進行編碼,并存入指定的明文文件。 4.輸出哈夫曼編碼文件:輸出每一個字符的哈夫曼編碼。
上傳時間: 2014-11-23
上傳用戶:shanml
在數據加密和數據壓縮中常需要對特殊的字符串進行編碼。給定的字母表A 由26 個小 寫英文字母組成A={a,b,…,z}。該字母表產生的升序字符串是指字符串中字母按照從左到 右出現的次序與字母在字母表中出現的次序相同,且每個字符最多出現1 次。例如, a,b,ab,bc,xyz 等字符串都是升序字符串。對于任意長度不超過6 的升序字符串,迅速計算出它在上述字典中的編碼。
上傳時間: 2016-05-12
上傳用戶:邶刖
The Radio Interface Layer is the name for an interface that was developed especially for the Pocket PC Phone Edition. It is meant to abstract the interface with a phone/modem device. To achieve this it is closely modelled after the GSM AT command interface. Unfortunately the API was not published officially by Microsoft. Instead more high level API s were published that should be sufficient for developers. Again, unfortunately they are not sufficient. For example the API for receiving notification of incoming SMS messages is arranged for exclusively for one application per type of SMS. Apparently this will be improved upon in Pocket PC 2003. Another area is the availablity of a true AT command modem interface to interact with the GSM modem directly, which is also absent.
標簽: especially Interface for developed
上傳時間: 2013-12-02
上傳用戶:wff
解n階線形方程組Ax=b的列主元高斯消去法的通用程序如下(下列程序都是在 matlab平臺下編寫的)
上傳時間: 2016-05-16
上傳用戶:myworkpost
這是一個利用B+ Trees數據結構存儲數據的源碼,全部代碼用C語言寫的.
上傳時間: 2014-01-09
上傳用戶:myworkpost
程序名稱: B-樹的實現 創建時間: 2008.03.16 最后修改: 2008.03.18 程序作者: monkeylee 聯系方式: leeocean2004@163.com 程序說明:實現B-樹的相關操作,查找插入刪除
標簽: 2008 monkeylee leeocean 03
上傳時間: 2016-05-19
上傳用戶:gxf2016
Matlab is an ideal tool for simulating digital communications systems, thanks to its easy scripting language and excellent data visualization capabilities. One of the most frequent simulation tasks in the field of digital communications is bit-error- rate testing of modems. The bit-error-rate performance of a receiver is a figure of merit that allows different designs to be compared in a fair manner. Performing bit-error-rate testing withMatlab is very simple, but does require some prerequisite knowledge
標簽: communications simulating scripting digital
上傳時間: 2014-01-02
上傳用戶:plsee
網上銀行系統,使用的是jbuilder該系統是一個B/S結構的系統; 該系統采用J2EE技術架構(Struts+EJB) 該系統數據庫為Oracle9i 該系統的應用服務器為Weblogic8.1
上傳時間: 2016-05-22
上傳用戶:linlin
B+樹的演示程序,在vs.net 2003 下編譯通過。是數據庫基礎的課程設計。
上傳時間: 2014-12-03
上傳用戶:王小奇
是計算B樣條函數的一個源代碼,搞數值計算的時候對樣條函數進行計算
上傳時間: 2016-05-24
上傳用戶:qlpqlq