Order source probabilities as , put
and take the first binary digits of as the codeword for symbol . Since for , two cumulative probabilities cannot lie in the same dyadic interval selected by the earlier codeword. The resulting code is prefix-free.
If the Shannon length is and is the length of any binary decipherable code, then
Thus the probability that the Shannon code loses to another code by or more bits decreases exponentially in .

Articles by others on the same topic (0)

There are currently no matching articles.