首页> 外文会议>Algorithms and Data Structures Symposium >Worst-Case Optimal Adaptive Prefix Coding
【24h】

Worst-Case Optimal Adaptive Prefix Coding

机译:最坏情况的最佳自适应前缀编码

获取原文
获取外文期刊封面目录资料

摘要

A common complaint about adaptive prefix coding is that it is much slower than static prefix coding. Karpinski and Nekrich recently took an. important step towards resolving this: they gave an adaptive Shannon coding algorithm that encodes each character in O(1) amortized time and decodes it in O(logH+1) amortized time, where H is the empirical entropy of the input string s. For comparison, Gagie's adaptive Shannon coder and both Knuth's and Vitter's adaptive Huffman coders all use Θ(H+1) amortized time for each character. In this paper we give an adaptive Shannon coder that both encodes and decodes each character in O(1) worst-case time. As with both previous adaptive Shannon coders, we store s in at most (H+1)|s|+o(|s|) bits. We also show that this encoding length is worst-case optimal up to the lower order term. In short, we present the first algorithm for adaptive prefix coding that encodes and decodes each character in optimal worst-case time while producing an encoding whose length is also worst-case optimal.
机译:关于自适应前缀编码的常见抱怨是它比静态前缀编码慢得多。 Karpinski和Nekrich最近拿了一个。解决此问题的重要步骤:它们给出了一个自适应香农编码算法,它在O(1)摊销时间中编码每个字符,并在O(LogH + 1)摊销时间中解码,其中H是输入字符串S的经验熵。对于比较,Gagie的自适应香农编码器和Knuth和Vitter的自适应霍夫曼编码器都适用于每个字符的θ(H + 1)摊销时间。在本文中,我们提供了一个自适应Shannon编码器,它们都是编码和解码O(1)最坏情况的每个字符。与先前的自适应Shannon编码器一样,我们最多存储S(H + 1)| + O(| S |)位。我们还表明,此编码长度最差为较低的术语。简而言之,我们介绍了一个用于自适应前缀编码的第一算法,该算法在最佳最坏情况下编码和解码每个角色的每个字符,同时产生长度也是最坏情况最佳的编码。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号