A Dynamic Programming Approach To Length-Limited Huffman Coding

dc.creatorGolin, Mordecai
dc.creatorZhang, Yan
dc.date2008-06-30
dc.date.accessioned2026-07-07T09:47:28Z
dc.date.available2026-07-07T09:47:28Z
dc.descriptionThe ``state-of-the-art'' in Length Limited Huffman Coding algorithms is the $Θ(ND)$-time, $Θ(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 $Θ(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. We illustrate this with examples from web-proxy design and wireless mobile paging.
dc.identifierhttps://arxiv.org/abs/0806.4899
dc.identifierhttp://arxiv.org/abs/0806.4899
dc.identifier.urihttp://salesiana.dossiersoluciones.com/handle/123456789/163888
dc.subjectData Structures and Algorithms
dc.subjectInformation Theory
dc.subjectE.1; E.4; H.1.1
dc.titleA Dynamic Programming Approach To Length-Limited Huffman Coding
dc.typetext

Files

Collections