A dynamic programming algorithm for constructing optimal “1”-ended binary prefix-free codes

  • Authors:
  • Sze-Lok Chan;M. J. Golin

  • Affiliations:
  • Dept. of Comput. Sci., Hong Kong Univ.;-

  • Venue:
  • IEEE Transactions on Information Theory
  • Year:
  • 2006

Quantified Score

Hi-index 754.84

Visualization

Abstract

The generic Huffman-encoding problem of finding a minimum cost prefix free code is almost completely understood. There still exist many variants of this problem which are not as well understood, though. One such variant, requiring that each of the codewords ends with “1”, has previously been introduced in the literature with the best algorithms known for finding such codes running in exponential time. We develop a simple O(n3) time algorithm for solving the problem