Title :
A Simple Recursive Shannon Code
Author :
Khosravifard, M. ; Narimani, H. ; Gulliver, T.A.
Author_Institution :
Dept. of Electr. & Comput. Eng., Isfahan Univ. of Technol., Isfahan, Iran
fDate :
2/1/2012 12:00:00 AM
Abstract :
The Shannon code is a very simple suboptimal scheme for computing prefix-free codelengths for a given memoryless source. A recursive version of the well-known Shannon code (RSh) is investigated in this paper. It has a redundancy which never exceeds that of the Shannon code. Unlike the Huffman code, the RSh code and its variations can be directly applied to sources with an infinitely countable alphabet. The average redundancy, taken over the set of all n-tuple distributions, is considered as a criterion for code comparisons. For n>;40, the average redundancy is approximately 0.14 bits for the RSh code, compared to approximately 0.5 and 0.03 bits for the Shannon and Huffman codes, respectively. For large n, a constrained version of the RSh code, called CRSh, has an average redundancy of only 0.07 bits for unsorted symbol probabilities. If the symbol probabilities are sorted in descending order, then a very simple modification of the RSh algorithm results in a code which is near-optimal from the average redundancy point of view.
Keywords :
codes; error statistics; Huffman code; RSh code; average redundancy; memoryless source; prefix-free codelength; recursive Shannon code; suboptimal scheme; symbol probability; Computational modeling; Computers; Context; Optimization; Redundancy; Sorting; Upper bound; Average redundancy; Huffman code; Kraft sum; Shannon code; infinitely countable alphabet; prefix-free code;
Journal_Title :
Communications, IEEE Transactions on
DOI :
10.1109/TCOMM.2011.111011.110104