Title :
A Dynamic Programming Approach to Length-Limited Huffman Coding: Space Reduction With the Monge Property
Author :
Golin, Mordecai ; Zhang, Yan
Author_Institution :
Dept. of Comput. Sci. & Eng., Hong Kong UST, Kowloon, China
Abstract :
The “state-of-the-art” in length-limited Huffman coding (LLHC) algorithms is the Θ(nD)-time, Θ(n)-space one of Hirschberg and Larmore, where n is the size of the code and D ≤ n is the length restriction on the codewords. This is a very clever, very problem specific, technique. This paper presents a simple dynamic-programming (DP) method that solves the problem with the same time and space bounds. The fact that there was an Θ(nD) time DP algorithm was previously known; it is a straightforward DP with the Monge property (which permits an order of magnitude speedup). It was not interesting, though, because it also required Θ(nD) space. The main result of this paper is the technique developed for reducing the space. It is quite simple and applicable to many other problems modeled by DPs with the Monge property. This is illustrated with examples from web-proxy design and wireless mobile paging.
Keywords :
Huffman codes; dynamic programming; Monge property; dynamic programming; length limited Huffman coding algorithm; space reduction; Computer science; Costs; Dynamic programming; Encoding; Frequency; Heuristic algorithms; Huffman coding; Integer linear programming; Paging strategies; Source coding; Dynamic programming; Huffman coding; Monge property; prefix-free codes; web-proxies; wireless paging;
Journal_Title :
Information Theory, IEEE Transactions on
DOI :
10.1109/TIT.2010.2050947