赫夫曼編譯碼器: 用哈夫曼編碼進行通信可以大大提高信道利用率,縮短信息傳輸時間,降低傳輸成本。但是,這要求在發送端通過一個編碼系統對待傳數據預先編碼,在接收端將傳來的數據進行譯碼(復原)。對于雙工信道(即可以雙向傳輸信息的信道),每端都需要一個完整的編/譯碼系統。試為這樣的信息收發站寫一個哈夫曼碼的編/譯碼系統。 [基本要求]一個完整的系統應具有以下功能: (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中。
上傳時間: 2016-04-17
上傳用戶:zaizaibang
4×4鍵盤,按鍵發聲,1—9—0號鍵依次發do—xi、do、re、mi,*、#鍵清除最近輸入
標簽: 鍵盤
上傳時間: 2016-05-05
上傳用戶:康郎
The CD Audio sample allows some non-SCSI2 CD ROMs to support audio operations by intercepting the relevant audio ioctls and translating them into the command block(s) expected by the non-compliant cdroms. It supports Plug and Play and Power Management, and is 64-bit compliant.
標簽: intercepting operations non-SCSI support
上傳時間: 2016-05-17
上傳用戶:ANRAN
C++實現的哈弗曼編碼,并有流程圖(1)I:初始化(Initialization)。從指定的英文文件中Sourcefile.txt讀取數據,根據文件內容統計的字符的頻度,建立哈夫曼樹。 (2)E:編碼(Encoding)。利用已經建好的哈夫曼樹進行編碼,并將每個字符的編碼寫入文件HuffCode.txt中保存。 (3)C:壓縮(Compress)。根據HuffCode.txt中編碼對文件Sourcefile.txt進行重新編碼,并將重新編碼后的內容寫入文件CodeFile.txt中。 (4)D:譯碼(Decoding)。利用已經建好的哈夫曼樹將文件CodeFile.txt中的代碼進行譯碼,結果存入文件TextFile中。 (5)P:打印代碼文件(Print)。將文件CodeFile.txt的內容顯示在終端上,每行50個代碼。 (6)T:顯示哈夫曼樹(Treeprinting)。將已經在內存中的哈夫曼樹以直觀的方式(樹或凹入表形式)顯示在終端上。
標簽: 編碼
上傳時間: 2013-12-24
上傳用戶:gxrui1991
Abstract-The effect of the companding process on QAM signals has been under investigation for the past several years. The compander, included in the PCM telephone network to improve voice performance, has an unusual affect on digital QAM data signals which are transmitted over the same channel. The quantization noise, generated by the companding process which is multiplicative (and asymmetric), degrades the detectability performance of the outermost points of the QAM constellation more than that of the inner points. The combined effect of the companding noise and the inherent white gaussian noise of the system, leads us to a re-examination of signal constellation design. In this paper we investigate the detectability performance of a number of candidates for signal constellations including, a typical rectangular QAM constellation, the same constellation with the addition of a smear-desmear operation, and two new improved QAM constellation designs with two-dimensional warpi
標簽: investigation Abstract-The companding the
上傳時間: 2013-12-20
上傳用戶:英雄
輸入一段英文字符,試為該文中的每個字符編制相應的哈夫曼碼。 (1)I:初始化(Initialization)。對輸入的一段英文中的每個字符統計其權值,建立哈夫曼樹; (2)E:編碼(Encoding)。利用已建好的哈夫曼樹,對每個字符進行編碼。 (3)D:譯碼(Decoding)。利用已建好的每個編碼,對輸入的一個由0、1組成的序列進行譯碼; (4)P:印代碼文件(Print)。將每個字符編的哈夫曼碼和譯碼結果顯示在終端上。
上傳時間: 2013-12-16
上傳用戶:lizhen9880
The CD Audio sample allows some non-SCSI2 CD ROMs to support audio operations by intercepting the relevant audio ioctls and translating them into the command block(s) expected by the non-compliant cdroms. It supports Plug and Play and Power Management, and is 64-bit compliant. No INF file is needed to install this driver.
標簽: intercepting operations non-SCSI support
上傳時間: 2014-08-17
上傳用戶:pkkkkp
An Efficient and Effective Detailed Placement Algorithm Global Swap To identify a pair of cells that can be swapped to reduce wirelength (others are fixed). 2. Vertical Swap Swap a cell with a nearby cell in the segment above or below. 3. Local Re-ordering Re-order consecutive cells locally to reduce wirelength. 4. Single-Segment Clustering Place cells optimally within a segment.
標簽: Algorithm Efficient Effective Placement
上傳時間: 2013-12-18
上傳用戶:ukuk
C/C++ Reference There are no "Introduction to Programming" tutorials here. This site is meant to be used by more-or-less experienced C++ programmers, who have a good idea of what they want to do and simply need to look up the syntax. If you re interested in learning C/C++, try one of these sites: How C Programming Works C Programming C++ Language Tutorial
標簽: Introduction Programming Reference tutorials
上傳時間: 2014-07-26
上傳用戶:ljmwh2000
his an ecapsulation of the ICS - Internet Component Suite. ICS can be found at : http://users.swing.be/francois.piette/indexuk.htm Please take the time to look at the code and learn something. If you re a Dephi Pro, you can probably give me some tips as I am still new to Delphi programming.
標簽: ecapsulation ICS Component Internet
上傳時間: 2013-12-22
上傳用戶:epson850