DocumentCode
2024175
Title
D-ary Bounded-Length Huffman Coding
Author
Baer, M.B.
Author_Institution
Electron. for Imaging, Foster City, CA
fYear
2007
fDate
24-29 June 2007
Firstpage
896
Lastpage
900
Abstract
Efficient optimal prefix coding has long been accomplished via the Huffman algorithm. However, there is still room for improvement and exploration regarding variants of the Huffman problem. Length-limited Huffman coding, useful for many practical applications, is one such variant, in which codes are restricted to the set of codes in which none of the n codewords is longer than a given length, lmax. Binary length-limited coding can be done in O(nlmax) time and O(n) space via the widely used Package-Merge algorithm. In this paper the Package-Merge approach is generalized without increasing complexity in order to introduce a minimum codeword length, lmin, to allow for objective functions other than the minimization of expected codeword length, and to be applicable to both binary and nonbinary codes; nonbinary codes were previously addressed using a slower dynamic programming approach. These extensions have various applications - including faster decompression - and can be used to solve the problem of finding an optimal code with bounded fringe, that is, finding the best code among codes with a maximum difference between the longest and shortest codewords. The previously proposed method for solving this problem was nonpolynomial time, whereas solving this using the novel algorithm requires only O(n(lmax - lmin)2) time and O(n) space.
Keywords
Huffman codes; binary codes; computational complexity; data compression; D-ary bounded-length-limited Huffman coding; binary length-limited coding; computational complexity; dynamic programming approach; minimum codeword length; nonbinary codes; optimal prefix coding; package-merge algorithm; Cities and towns; Codecs; Computational efficiency; Decoding; Dynamic programming; Encoding; Huffman coding; Packaging; Presence network agents; Table lookup;
fLanguage
English
Publisher
ieee
Conference_Titel
Information Theory, 2007. ISIT 2007. IEEE International Symposium on
Conference_Location
Nice
Print_ISBN
978-1-4244-1397-3
Type
conf
DOI
10.1109/ISIT.2007.4557338
Filename
4557338
Link To Document