• DocumentCode
    745521
  • Title

    Incremental Calculation of Minimum-Redundancy Length-Restricted Codes

  • Author

    Liddell, Mike ; Moffat, Alistair

  • Author_Institution
    Dept. of Comput. Sci. & Software Eng., Univ. of Melbourne, Vic.
  • Volume
    55
  • Issue
    3
  • fYear
    2007
  • fDate
    3/1/2007 12:00:00 AM
  • Firstpage
    427
  • Lastpage
    435
  • Abstract
    The length-restricted code-construction problem arises when using prefix codes for large messages and also for search-tree depth minimization. A problem instance comprises an ordered set of input probabilities which in this paper are assumed, without loss of generality, to be a set of unnormalized integer frequencies {f1 , f2,..., fn}, and a maximum codeword length L bits. The package-merge algorithm of Larmore and Hirschberg constructs a minimum-redundancy length-restricted code in O(nL) time. Here we present an algorithm which computes a minimum-redundancy length-restricted code in O((H L + 1)n) time, by starting with a minimum-redundancy (Huffman) code with a maximum codeword length of H, and then refining it to meet the length limit L. The new algorithm is suited to problems where H - L is small; and when H - L > L - [log n], the new algorithm outperforms all previous methods. Experimental results confirm the behavior of the new algorithm
  • Keywords
    Huffman codes; minimisation; probability; tree searching; Huffman code; codeword length; minimum-redundancy length-restricted codes; package-merge algorithm; prefix codes; search-tree depth minimization; Codes; Computer science; Costs; Decoding; Encoding; Frequency; Helium; Packaging; Software engineering; Source coding; Codes; Huffman codes; encoding; source coding;
  • fLanguage
    English
  • Journal_Title
    Communications, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0090-6778
  • Type

    jour

  • DOI
    10.1109/TCOMM.2007.892446
  • Filename
    4132999