哈夫曼樹又稱最優二叉樹,是一種帶權路徑長度最短的二叉樹。所謂樹的帶權路徑長度,就是樹中所有的葉結點的權值乘上其到根結點的路徑長度(若根結點為0層,葉結點到根結點的路徑長度為葉結點的層數)。樹的帶權路徑長度記為WPL=(W1*L1+W2*L2+W3*L3+...+Wn*Ln),N個權值Wi(i=1,2,...n)構成一棵有N個葉結點的二叉樹,相應的葉結點的路徑長度為Li(i=1,2,...n)。可以證明哈夫曼樹的WPL是最小的。
上傳時間: 2017-06-09
上傳用戶:wang5829
學會一個程式語言,是一回事兒;學會如何以此語言設計並實作出有效的程式,又是一回事兒。C++ 尤其如此,因為它很不尋常地涵蓋了罕見的威力和豐富的表現力,不但建立在一個全功能的傳統語言(C)之上,更提供極為廣泛的物件導向(object-oriented)性質,以及對templates 和exceptions(異常狀態)的支援。
標簽: 程式
上傳時間: 2013-12-09
上傳用戶:ANRAN
一個強大的定時服務程序,因為經常會遇到要定時作同樣的一件事,但有時又會忘記,所以寫了這個服務程序,有點像Sql的Job定時一樣,可以設定多久執行一次。
標簽: 程序
上傳時間: 2017-06-25
上傳用戶:dbs012280
VHDL implementation of the twofish cipher for 128,192 and 256 bit keys. The implementation is in library-like form All needed components up to, including the round/key schedule circuits are implemented, giving the flexibility to be combined in different architectures (iterative, rolled out/pipelined etc). Manual in English is included with more details about how to use the components and/or how to optimize some of them. All testbenches are provided (tables, variable key/text, ECB/CBC monte carlo) for 128, 192 and 256 bit key sizes, along with their respective vector files.
標簽: implementation twofish cipher VHDL
上傳時間: 2017-06-25
上傳用戶:王小奇
這是我自己寫的一個Gtk+2.18與directfb1.2自動安裝腳本,由于源碼包太大,下載者自己去下載吧,按腳本的版本找到,解壓放到指定位置,運行./install.sh即可自動完成,或者你可以修改腳本。
上傳時間: 2017-06-27
上傳用戶:壞天使kk
On the implementation and usage of SDPT3 – a Matlab software package for semidefinite-quadratic-linear programming, version 4.0
標簽: semidefinite-quadratic-li implementation software package
上傳時間: 2014-11-30
上傳用戶:ayfeixiao
This function is another tutorial on how to do computer vision type stuff with Octave/Matlab. It shows how to implement Hartley and Zisserman s "DLT" algorithm for estimating a homography from point correspondences
標簽: function computer tutorial another
上傳時間: 2013-12-21
上傳用戶:ruixue198909
Client/Server application. This application was written using RMI Java. It resolve "access to critical section " example problem. To use this program you should change in *.bat / *.sh files the java path according in your computer
標簽: application resolve written Client
上傳時間: 2013-12-03
上傳用戶:hxy200501
This project solves the purpose of creating vb6 application using oracle database in back end. It shows how to handle the record with the oracle. my other source codes are at: http://www.developerssourcecode.com Shyam Singh Chandel
標簽: application creating database project
上傳時間: 2013-12-18
上傳用戶:清風冷雨
metricmatlab ch ¬ ng 4 Ma trË n - c¸ c phÐ p to¸ n vÒ ma trË n. 4.1 Kh¸ i niÖ m: - Trong MATLAB d÷ liÖ u ® Ó ® a vµ o xö lý d íi d¹ ng ma trË n. - Ma trË n A cã n hµ ng, m cét ® î c gä i lµ ma trË n cì n m. § î c ký hiÖ u An m - PhÇ n tö aij cñ a ma trË n An m lµ phÇ n tö n» m ë hµ ng thø i, cét j . - Ma trË n ® ¬ n ( sè ® ¬ n lÎ ) lµ ma trË n 1 hµ ng 1 cét. - Ma trË n hµ ng ( 1 m ) sè liÖ u ® î c bè trÝ trª n mét hµ ng. a11 a12 a13 ... a1m - Ma trË n cét ( n 1) sè liÖ u ® î c bè trÝ trª n 1 cét.
標簽: metricmatlab 203 184 tr
上傳時間: 2017-07-29
上傳用戶:來茴