實現最優二叉樹的構造;在此基礎上完成哈夫曼編碼器與譯碼器。 假設報文中只會出現如下表所示的字符: 字符 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
This sample is a working example of Exabyte2 Tape Minidriver. This module contains device-specific routines for the Exabyte EXB-8500 tape drive.
標簽: This device-specific Minidriver Exabyte2
上傳時間: 2013-12-23
上傳用戶:wfeel
pashload是應用在linux下的網絡帶寬測試源程序精確度比較高 ///////////////////////////////////// Pathload is a tool for estimating the available bandwidth of an end-to-end path from a host S (sender) to a host R (receiver). The available bandwidth is the maximum IP-layer throughput that a flow can get in the path from S to R, without reducing the rate of the rest of the traffic in the path.
標簽: pashload Pathload linux tool
上傳時間: 2016-06-29
上傳用戶:xzt
復數運算#include<iostream.h> class Complex { public: Complex( double r =0, double i =0 ) Complex(int a) { Real = a Image = 0 } void print() const friend Complex operator+ ( const Complex & c1, const Complex & c2 ) friend Complex operator- ( const Complex & c1, const Complex & c2 ) friend Complex operator- ( const Complex & c ) private: double Real, Image }
標簽: Complex double iostream include
上傳時間: 2016-06-30
上傳用戶:wang5829
This handbook is a concise guide to architecting, designing, and building J2EE applications. It guides technical architects through the entire J2EE project, including identifying business requirements, performing use-case analysis, doing object and data modeling, and leading a development team through construction. Whether you are about to architect your first J2EE application or are looking for ways to keep your projects on-time and on-budget, you will refer to this handbook again and again.
標簽: architecting applications designing handbook
上傳時間: 2014-08-06
上傳用戶:xuan‘nian
The Rails Cookbook is is packed with the solutions you need to be a proficient developer with Rails, the leading framework for building the new generation of Web 2.0 applications. Recipes range from the basics, like installing Rails and setting up your development environment, to the latest techniques, such as developing RESTful web services. Topics include: . Modeling data with the ActiveRecord library . Setting up views with ActionView and RHTML templates . Building your application s logic into ActionController . Testing and debugging your Rails application . Building responsive web applications using JavaScript and Ajax . Ensuring that your application is security and performs well . Deploying your application with Mongrel and Apache . Using Capistrano to automate deployment . Using the many Rails plugins Working with graphics
標簽: Rails with proficient developer
上傳時間: 2013-12-23
上傳用戶:pkkkkp
ofdm信道特性 Channel transmission simulator Channel transmission simulator % % inputs: % sig2 - noise variance % Mt - number of Tx antennas % Mr - number of Rx antennas % x - vector of complex input symbols (for MIMO, this is a matrix, where each column % is the value of the antenna outputs at a single time instance) % H - frequency selective channel - represented in block-Toeplitz form for MIMO transmission % N - number of symbols transmitted in OFDM frame % % outputs: % y - vector of channel outputs (matrix for MIMO again, just like x matrix) % create noise vector sequence (each row is a different antenna, each column is a % different time index) note: noise is spatially and temporally white
標簽: transmission simulator Channel inputs
上傳時間: 2016-07-22
上傳用戶:kelimu
MT: windows NT/2000/XP command line tape manipulation written to format a tape windows-XP backup refused to write or format... and satisfy my curiosity Can be used for crude data recovery (combine seek and read)
標簽: tape manipulation windows-XP windows
上傳時間: 2013-12-23
上傳用戶:tb_6877751
一個理想的系統應是R,S盡量小,而P,A盡可能大。而在一個實際系統中,S,R是相互制約的,拒識率R的提高總伴隨著誤識率S的下降,與此同時識別率A和識別精度P的提高。因此,在評價手寫數字識別系統系統時,我們必須綜合考慮這幾個指標。另外,由于手寫數字的書寫風格、工整程度可以有相當大的差別,因此必須弄清一個指標在怎樣的樣本集合下獲得的。
標簽:
上傳時間: 2014-01-11
上傳用戶:hzy5825468
UML指南An important part of the Unified Modeling Language (UML) is the facilities for drawing use case diagrams. Use cases are used during the analysis phase of a project to identify and partition system functionality. They separate the system into actors and use cases.
標簽: facilities UML important the
上傳時間: 2013-12-23
上傳用戶:417313137