pith. sign in

arxiv: cs/0205048 · v2 · pith:AHTYJ26Knew · submitted 2002-05-18 · 💻 cs.DS

Huffman Coding with Letter Costs: A Linear-Time Approximation Scheme

classification 💻 cs.DS
keywords approximationcodingcostsepsilonhuffmanschemealgorithmapproximate
0
0 comments X
read the original abstract

We give a polynomial-time approximation scheme for the generalization of Huffman Coding in which codeword letters have non-uniform costs (as in Morse code, where the dash is twice as long as the dot). The algorithm computes a (1+epsilon)-approximate solution in time O(n + f(epsilon) log^3 n), where n is the input size.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.