Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

A Generic Top-Down Dynamic-Programming Approach to Prefix-Free Coding (0809.4577v1)

Published 26 Sep 2008 in cs.DS, cs.IT, and math.IT

Abstract: Given a probability distribution over a set of n words to be transmitted, the Huffman Coding problem is to find a minimal-cost prefix free code for transmitting those words. The basic Huffman coding problem can be solved in O(n log n) time but variations are more difficult. One of the standard techniques for solving these variations utilizes a top-down dynamic programming approach. In this paper we show that this approach is amenable to dynamic programming speedup techniques, permitting a speedup of an order of magnitude for many algorithms in the literature for such variations as mixed radix, reserved length and one-ended coding. These speedups are immediate implications of a general structural property that permits batching together the calculation of many DP entries.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (3)
  1. Mordecai Golin (16 papers)
  2. Xiaoming Xu (18 papers)
  3. Jiajin Yu (1 paper)
Citations (3)

Summary

We haven't generated a summary for this paper yet.