arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1204.5801cs.DS
收藏

线性时间上的最优无前缀码

Optimal Prefix Free Code in Linear Time

Jérémy Barbay

摘要:

我们描述了一个算法计算的最佳前缀自由码从$N$未排序的正整数权重的时间线性的机器字的数量持有这些权重。该算法利用了常见的非代数指令,以及最佳前缀自由码的具体结果。这个结果改进了代数决策树模型中的$O(N\lg N)$和RAM模型中的$O(N\lg\lg N)$的现有技术的复杂性,用于计算霍夫曼代码,这是自1952年以来压缩和编码的里程碑。

英文摘要:

We describe an algorithm computing an optimal prefix free code from $N$ unsorted positive integer weights in time linear in the number of machine words holding those weights. This algorithm takes advantage of common non-algebraic instructions, and of specific results on optimal prefix free codes. This result improves over the state of the art complexities of $O(N\lg N)$ in the algebraic decision tree model and $O(N\lg\lg N)$ in the RAM model for the computation of Huffman's codes, a landmark in compression and coding since 1952.

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

↑