arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.05005cs.DScs.ITmath.IT
收藏

有限长Huffman编码在分级存储器中的推广

Generalizations of Length Limited Huffman Coding for Hierarchical Memory Settings

Shashwat Banchhor, Rishikesh Gajjala, Yogish Sabharwal, Sandeep Sen

摘要:

在本文中,我们研究的问题,设计无前缀的编码方案具有最小的平均码长,可以有效地解码下的解码成本模型,捕获存储层次结构引起的成本函数。我们还研究了这个问题的一个特殊情况下,是密切相关的长度有限的霍夫曼编码(LLHC)的问题,我们称之为{ \em软长度有限的霍夫曼编码}的问题。在此版本中,存在与编码超过指定界限$D$($\leq n$)的字母表中的每个$n$字符相关联的惩罚,其中惩罚随着编码超过$D$的长度而线性增加。该问题的目标是找到一个无前缀的编码具有最小的平均代码长度和总惩罚内预先指定的界限${\cal P}$。这概括了LLHC问题。我们提出了一个算法来解决这个问题,运行在时间$O( nD )$。我们研究了进一步的推广,其中的惩罚函数和目标函数都可以是任意的单调非递减函数的码字长度。我们提供基于动态规划的精确和PTAS算法。

英文摘要:

In this paper, we study the problem of designing prefix-free encoding schemes having minimum average code length that can be decoded efficiently under a decode cost model that captures memory hierarchy induced cost functions. We also study a special case of this problem that is closely related to the length limited Huffman coding (LLHC) problem; we call this the {\em soft-length limited Huffman coding} problem. In this version, there is a penalty associated with each of the $n$ characters of the alphabet whose encodings exceed a specified bound $D$($\leq n$), where the penalty increases linearly with the length of the encoding beyond $D$. The goal of the problem is to find a prefix-free encoding having minimum average code length and total penalty within a pre-specified bound ${\cal P}$. This generalizes the LLHC problem. We present an algorithm to solve this problem that runs in time $O( nD )$. We study a further generalization in which the penalty function and the objective function can both be arbitrary monotonically non-decreasing functions of the codeword length. We provide dynamic programming based exact and PTAS algorithms for this setting.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑