霍夫曼碼相同值的情況 - 考試
By Isabella
at 2014-04-06T10:04
at 2014-04-06T10:04
Table of Contents
非資訊背景,對這很不熟悉,希望能幫我解答!!
在霍夫曼樹的步驟中
1. 將出現頻率大小依序存入佇列
2. 取出頻率最小節點兩個合併
3. 合併之後將其頻率合放佇列(依順序大小,相同大小合併值會放後面)
4. 直到合併數=1
上課時老師也是說合併值放後面
但是WIKI裡的範例跟我解的不一樣 http://0rz.tw/MUZe9 (Fig.2霍夫曼編碼演算步驟)
2,3,4,4,5,7
2+3=5*(合併後的)
4,4,5,5*,7 -> 5,5*,7,8 這時候合併過後的節點(5*)不是應該在節點(5)右邊嗎?
希望有高手可以為我解惑!!> <
--
Tags:
考試
All Comments
By James
at 2014-04-10T01:42
at 2014-04-10T01:42
By Candice
at 2014-04-10T07:46
at 2014-04-10T07:46
By Zenobia
at 2014-04-15T01:36
at 2014-04-15T01:36
By Jessica
at 2014-04-15T12:55
at 2014-04-15T12:55
By Gary
at 2014-04-19T19:17
at 2014-04-19T19:17
By Tracy
at 2014-04-22T01:50
at 2014-04-22T01:50
Related Posts
有人補高X盛華仁-經濟申論寫作班嗎?
By Rae
at 2014-04-06T09:56
at 2014-04-06T09:56
旗立-基本電學-基本交流電
By Frederic
at 2014-04-06T01:42
at 2014-04-06T01:42
100 地特 電子學 3db頻寬
By Audriana
at 2014-04-06T00:38
at 2014-04-06T00:38
海巡特考考試科目
By Enid
at 2014-04-05T23:32
at 2014-04-05T23:32
電腦網路 bit-oriented byte-oriented
By Odelette
at 2014-04-05T23:21
at 2014-04-05T23:21