• DocumentCode
    2521339
  • Title

    Reserved-length prefix coding

  • Author

    Baer, Michael B.

  • Author_Institution
    vLnks, Mountain View, CA
  • fYear
    2008
  • fDate
    6-11 July 2008
  • Firstpage
    2469
  • Lastpage
    2473
  • Abstract
    Huffman coding finds an optimal prefix code for a given probability mass function. Consider situations in which one wishes to find an optimal code with the restriction that all codewords have lengths that lie in a user-specified set of lengths (or, equivalently, no codewords have lengths that lie in a complementary set). This paper introduces a polynomial-time dynamic programming algorithm that finds optimal codes for this reserved-length prefix coding problem. This has applications to quickly encoding and decoding lossless codes. In addition, one modification of the approach solves any quasiarithmetic prefix coding problem, while another finds optimal codes restricted to the set of codes with g codeword lengths for user-specified g (e.g., g = 2). For small enough g, a sublinear-time constant-space approach is even more efficient.
  • Keywords
    Huffman codes; probability; Huffman coding; optimal prefix code; polynomial-time dynamic programming algorithm; probability mass function; reserved-length prefix coding; sublinear-time constant-space approach; Costs; Decision trees; Decoding; Dynamic programming; Encoding; Heuristic algorithms; Huffman coding; Natural languages; Random variables; Table lookup;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Theory, 2008. ISIT 2008. IEEE International Symposium on
  • Conference_Location
    Toronto, ON
  • Print_ISBN
    978-1-4244-2256-2
  • Electronic_ISBN
    978-1-4244-2257-9
  • Type

    conf

  • DOI
    10.1109/ISIT.2008.4595435
  • Filename
    4595435