计算机科学 > 数据结构与算法
[提交于 2008年9月26日]
标题:A Generic Top-Down Dynamic-Programming Approach to Prefix-Free Coding
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Jiajin Yu[v1] 2008年9月26日 星期五 09:42:04 UTC