| Thread Closed |
huffman tree |
Share Thread | Thread Tools |
| Aug17-04, 03:33 PM | #1 |
|
|
huffman tree
The question ask me to compute the expected code length of
5 nodes A B C D E each of frequency .1 .1 .2 .2 .4 respectively. I already did the tree and derive the huffman code. What does it mean by " compute the expected code length ?" |
| PhysOrg.com |
science news on PhysOrg.com >> Hong Kong launches first electric taxis >> Morocco to harness the wind in energy hunt >> Galaxy's Ring of Fire |
| Aug17-04, 04:57 PM | #2 |
|
|
i guess it means the avg size of the encoded data in bits per symbol.
|
| Aug18-04, 08:37 AM | #3 |
|
|
expected code length is also called the average code length (L)
= [tex]\sum_{i=0}^{n} p_i * l_i[/tex] where p_i is the probability of the symbol and l_i is the length of the symbol -- AI |
| Thread Closed |
| Thread Tools | |
Similar Threads for: huffman tree
|
||||
| Thread | Forum | Replies | ||
| Huffman code?!? | Set Theory, Logic, Probability, Statistics | 4 | ||
| [SOLVED] Huffman...? | Set Theory, Logic, Probability, Statistics | 0 | ||
| Help building huffman tree | Programming & Comp Sci | 1 | ||
| Huffman encoding | Programming & Comp Sci | 1 | ||
| huffman code, encryption | Programming & Comp Sci | 2 | ||