首页> 外文期刊>Information and computation >Optimal prefix codes with fewer distinct codeword lengths are faster to construct
【24h】

Optimal prefix codes with fewer distinct codeword lengths are faster to construct

机译:具有较少不同码字长度的最佳前缀码可以更快地构建

获取原文
获取原文并翻译 | 示例
       

摘要

A new method for constructing minimum-redundancy binary prefix codes is described. Our method does not explicitly build a Huffman tree; instead it uses a property of optimal prefix codes to compute the codeword lengths corresponding to the input weights. Let n be the number of weights and k be the number of distinct codeword lengths as produced by the algorithm for the optimal code. The running time of our algorithm is O (k . n). Following our previous work, no algorithm can possibly construct optimal prefix codes in o(k . n) time. If the given weights are presorted, our algorithm performs O (9(k) . log(2k) n) comparisons. (C) 2019 Elsevier Inc. All rights reserved.
机译:描述了一种构造最小冗余二进制前缀码的新方法。我们的方法没有显式构建霍夫曼树。相反,它使用最佳前缀代码的属性来计算与输入权重相对应的代码字长度。设n为权重数,k为由最佳编码算法产生的不同码字长度的数。我们算法的运行时间为O(k。n)。遵循我们之前的工作,没有算法可以在o(k。n)时间内构造最佳前缀代码。如果给定的权重是预先排序的,我们的算法将执行O(9(k)。log(2k)n)个比较。 (C)2019 Elsevier Inc.保留所有权利。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号