摘 要 1 前 言 2 正 文 4 1. 采用類C語言定義相關的數據類型 4 2. 各模塊的偽碼算法 5 3. 函數的調用關系圖 7 4. 調試分析 8 5. 測試結果 9 6. 源程序(帶注釋) 10 總結 29 參考文獻 30 致謝 31 摘 要 哈夫曼編碼(Huffman Coding)是一種編碼方式,以哈夫曼樹—即最優二叉樹,帶權路徑長度最小的二叉樹,經常應用于數據壓縮。在計算機信息處理中,“哈夫曼編碼”是一種一致性編碼法(又稱"熵編碼法"),用于數據的無損耗壓縮。這一術語是指使用一張特殊的編碼表將源字符(例如某文件中的一個符號)進行編碼。 關鍵詞:哈夫曼;編碼;譯碼,通信
上傳時間: 2013-12-19
上傳用戶:kristycreasy
Intro/: Directory containing introductory examples. HelloWorld.c A simple program that draws a box and writes "Hello World" in HelloWorld.f it. data The data file for the introductory progressive example. Lines.c Reads the data from file "data" and plots just the curve with Lines.f no labels, viewport or anything indicating quantity or units. Viewport.c Restricts the graph to a viewport and frames the viewport, Viewport.f leaving the remainder of the area for labels, etc. CharLbls.c Adds labels for the chart title, X-axis title, and Y-axis CharLbls.f title. Tics.c Adds tic marks to the viewport edges, but since clipping was Tics.f not set correctly, tics extend outside the viewport. Clip.c Sets clipping such that tic marks are clipped at the viewport Clip.f boundaries. TicLabels.c Adds numeric tic labels to the graph this is the final TicLabels.f installment of the progressive example.
標簽: introductory HelloWorld containing Directory
上傳時間: 2016-03-29
上傳用戶:exxxds
多項式曲線擬合 任意介數 Purpose - Least-squares curve fit of arbitrary order working in C++ Builder 2007 as a template class, using vector<FloatType> parameters. Added a method to handle some EMathError exceptions. If do NOT want to use this just call PolyFit2 directly. usage: Call PolyFit by something like this. CPolyFit<double> PolyFitObj double correlation_coefficiant = PolyFitObj.PolyFit(X, Y, A) where X and Y are vectors of doubles which must have the same size and A is a vector of doubles which must be the same size as the number of coefficients required. returns: The correlation coefficient or -1 on failure. produces: A vector (A) which holds the coefficients.
標簽: Least-squares arbitrary Purpose Builder
上傳時間: 2013-12-18
上傳用戶:宋桃子
一個雙向棧的C++實現,支持多線程環境。適用2個list記錄棧的移入移除。
標簽: 棧
上傳時間: 2016-04-07
上傳用戶:qunquan
AVR C 語言的應用說明,和應用例程。詳細的介紹了IAR C的應用
上傳時間: 2016-04-12
上傳用戶:z754970244
C語言由于其數據類型豐富、語句精煉靈活、效率高、表達力強、以及可移值性好等諸多優點,倍受程序員喜愛。目前,絕大多數程序在開發 應用軟件時,都采用C語言來編程。因此,出版有關這方面的圖書,提高C語言的實際編程能力意義重大。本書從七個方面介紹C語言編程經驗 和應用技巧。書中大量的實例不僅適合C語言初學者學習使用,還適合具體開發應用軟件的工程技術人員使用,作為他們開發軟件的基礎。 書中每個子例程都可以作為一個獨立的子模塊,在開發具體應用軟件時直接調用。
上傳時間: 2016-04-12
上傳用戶:wqxstar
「常見程式演算」主要收集一些常見的程式練習題目,您可以藉這些題目培養一些程式設計邏輯的感覺,對題目的分類只是個大概,方便索引而已,實作的部份是使用 C 及 Java。
標簽: 程式
上傳時間: 2014-01-05
上傳用戶:Breathe0125
基于多線程機制的,利用Matlab編寫,粒子群優化算法。目標變量采用歸一化處理,適用于所有的優化函數。優化函數自定義為fitness(x)。
上傳時間: 2013-12-30
上傳用戶:banyou
常用的串行通信方式。在 Visual C++的編程中,既可以用 Windows API函數進行串行通信編程,也可以利用環境自帶的控件進行編程。利用 API函數編寫實際應用程序時,往往要考慮多線程的問題,這樣編出來的程序不但十分龐大,而且結構比較復雜,繼承性差,維護困難。但是使用串行通信控件就 相對簡單一些,而且功能強大,性能安全可靠
上傳時間: 2013-12-24
上傳用戶:rocwangdp
TMS320F2812串口學習例程,C語言源代碼
上傳時間: 2016-04-20
上傳用戶:王楚楚