赫夫曼編譯碼器: 用哈夫曼編碼進行通信可以大大提高信道利用率,縮短信息傳輸時間,降低傳輸成本。但是,這要求在發送端通過一個編碼系統對待傳數據預先編碼,在接收端將傳來的數據進行譯碼(復原)。對于雙工信道(即可以雙向傳輸信息的信道),每端都需要一個完整的編/譯碼系統。試為這樣的信息收發站寫一個哈夫曼碼的編/譯碼系統。 [基本要求]一個完整的系統應具有以下功能: (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
Copy gen_jmsn.dll to your Winamp Plugins Directory. JMSN Auto Nickname Changer plugins support only winamp 2.x version. [StartUp] In Tools -> Options.. -> Auto Nickname tabs, Configure your prefix and postfix besides your mp3 name And Press Start Button. so nickname changer listener will be started. [Configure] If I m listening Marilyn Manson - This Is The New Shit , Prefix : Jang-Ho Hwang listen Postfix: ~* When winamp song was changed, your nickname will be Jang-Ho Hwang listen Marylyn Manson - This Is The New Shit~* [Winamp plugin configure] In Winamp 2.x, Press Control+P (Preferences). You will find JMSN Nickname Changer Plug-In v0.7 in Plug-ins -> General purpose. Click Configure and set access password. it will keep your nickname. Enjoy it
標簽: Directory gen_jmsn Nickname Changer
上傳時間: 2014-01-20
上傳用戶:zhuimenghuadie
富士通單片機MB902420系列 CAN Project: CAN0 will work as a simple Repeater. Received data will appear at Port P47..P40 (UserLEDs of FlashCan100P) and will send out again as byte-packages to ID#2 Receive-Buffer #1 : basic can Transmit-Buffer #6 : full-can ID #2
標簽: will Repeater Received Project
上傳時間: 2016-04-27
上傳用戶:www240697738
runs Kalman-Bucy filter over observations matrix Z for 1-step prediction onto matrix X (X can = Z) with model order p V = initial covariance of observation sequence noise returns model parameter estimation sequence A, sequence of predicted outcomes y_pred and error matrix Ey (reshaped) for y and Ea for a along with inovation prob P = P(y_t | D_t-1) = evidence
標簽: matrix observations Kalman-Bucy prediction
上傳時間: 2016-04-28
上傳用戶:huannan88
Hybrid Monte Carlo sampling.SAMPLES = HMC(F, X, OPTIONS, GRADF) uses a hybrid Monte Carlo algorithm to sample from the distribution P ~ EXP(-F), where F is the first argument to HMC. The Markov chain starts at the point X, and the function GRADF is the gradient of the `energy function F.
標簽: Carlo Monte algorithm sampling
上傳時間: 2013-12-02
上傳用戶:jkhjkh1982
This package provides a complete http client library. It currently implements most of the relevant parts of the HTTP/1.0 and HTTP/1.1 protocols, including the request methods HEAD, GET, POST and PUT, and automatic handling of authorization, redirection requests, and cookies. Furthermore the included Codecs class contains coders and decoders for the base64, quoted-printable, URL-encoding, chunked and the multipart/form-data encodings. The whole thing is free, and licenced under the GNU Lesser General Public License (LGPL) (note that this is not the same as the GPL).
標簽: implements currently complete provides
上傳時間: 2014-01-16
上傳用戶:siguazgb
This is a Java library for performing floating-point calculations on small devices such as mobile phones which lack native support for floating-point numbers.
標簽: floating-point calculations performing devices
上傳時間: 2016-05-03
上傳用戶:大融融rr
表達式類型的實現: 1、 一個表達式和一顆二叉樹之間,存在著自然的對應關系。 2、 假設算術表達式Expression內可以含有變量(a~z)、常量(0~9)和二元運算符(+,-,*,/,^)。實現一下操作。 (1) ReadExpr(E)——以字符序列的形式輸入語法正確的前綴表示式并構造表達式E。 (2) WritrExpr(E)——用帶括弧的中綴表示式輸出表達式E。 (3) Assign(V,c)——實現對變量V的賦值(V=c),變量的初值為0。 (4) Value(E)——對算術表達式E求值。 (5) CompoundExpr(P,E1,E2)——構造一個新的復合表達式(E1)P (E2)。
上傳時間: 2013-12-09
上傳用戶:luke5347
實現最優二叉樹的構造;在此基礎上完成哈夫曼編碼器與譯碼器。 假設報文中只會出現如下表所示的字符: 字符 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 RM 4 - D S P結 構 , 實現 了數 控 系統 的 小型 化 、 網絡 化 、 智能化 和 集成 化 。詳 細介 紹 了嵌入 式數 控 系統 內 CNC主控 單元 與 伺 服 驅動 及 I /0邏輯 控 制 等各 單 元 間的通信 、 車 間級 工 業 以太 網絡 的通信 和 i n t r a n e t / I n t e r n e t網絡 通信 , 并給 出 了關鍵 實現技 術。
標簽: 網絡
上傳時間: 2013-11-25
上傳用戶:as275944189