NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Maximal codeword lengths in Huffman codesThe following question about Huffman coding, which is an important technique for compressing data from a discrete source, is considered. If p is the smallest source probability, how long, in terms of p, can the longest Huffman codeword be? It is shown that if p is in the range 0 less than p less than or equal to 1/2, and if K is the unique index such that 1/F(sub K+3) less than p less than or equal to 1/F(sub K+2), where F(sub K) denotes the Kth Fibonacci number, then the longest Huffman codeword for a source whose least probability is p is at most K, and no better bound is possible. Asymptotically, this implies the surprising fact that for small values of p, a Huffman code's longest codeword can be as much as 44 percent larger than that of the corresponding Shannon code.
Document ID
19930010238
Acquisition Source
Legacy CDMS
Document Type
Reprint (Version printed in journal)
Authors
Abu-Mostafa, Y. S.
(California Inst. of Tech. Pasadena., United States)
Mceliece, R. J.
(Jet Propulsion Lab., California Inst. of Tech. Pasadena, CA, United States)
Date Acquired
September 6, 2013
Publication Date
August 15, 1992
Publication Information
Publication: The Telecommunications and Data Acquisition
Subject Category
Computer Programming And Software
Accession Number
93N19427
Funding Number(s)
PROJECT: RTOP 310-30-71-83-02
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
No Preview Available