11
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      A Dynamic Programming Approach To Length-Limited Huffman Coding

      Preprint
      ,

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          The ``state-of-the-art'' in Length Limited Huffman Coding algorithms is the \(\Theta(ND)\)-time, \(\Theta(N)\)-space one of Hirschberg and Larmore, where \(D\le N\) is the length restriction on the code. This is a very clever, very problem specific, technique. In this note we show that there is a simple Dynamic-Programming (DP) method that solves the problem with the same time and space bounds. The fact that there was an \(\Theta(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 \(\Theta(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. We illustrate this with examples from web-proxy design and wireless mobile paging.

          Related collections

          Author and article information

          Journal
          30 June 2008
          Article
          0806.4899
          17fe09fe-9b19-4220-8ea8-0fe0ec76efe1

          http://arxiv.org/licenses/nonexclusive-distrib/1.0/

          History
          Custom metadata
          cs.DS cs.IT math.IT

          Comments

          Comment on this article