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

行程长度编码的渐近分析

Asymptotic Analysis of Run-Length Encoding

Nabil Zaman, Nicholas Pippenger

摘要:

Gallager和Van Voorhis发现了随机变量$K$的最佳无前缀码$κ(K)$,该随机变量是几何分布的:$\Pr[K=k] = p(1-p)^k$对应于$k\ge 0$。我们确定这些代码的预期长度${\rm Ex}[{\#κ(K)}]$的渐近行为为$p\to 0$:$${\rm Ex}[{\#κ(K)}] = \log_2 {1\over p} + \log_2 \log 2 + 2 + f\left(\log_2 {1\over p} + \log_2 \log 2\right) + O(p),$$其中$$f(z) = 4\cdot 2^{-2^{1-\{z\}}} - \{z\} - 1,$$和$\{z\} = z - \lfloor z\rfloor$是$z$的小数部分。函数$f(z)$是周期函数(具有周期$1$),其表现出围绕甚至更小的平均值(小于$0.0005$)的小振荡(具有小于$0.005$的幅度)。

英文摘要:

Gallager and Van Voorhis have found optimal prefix-free codes $κ(K)$ for a random variable $K$ that is geometrically distributed: $\Pr[K=k] = p(1-p)^k$ for $k\ge 0$. We determine the asymptotic behavior of the expected length ${\rm Ex}[{\#κ(K)}]$ of these codes as $p\to 0$: $${\rm Ex}[{\#κ(K)}] = \log_2 {1\over p} + \log_2 \log 2 + 2 + f\left(\log_2 {1\over p} + \log_2 \log 2\right) + O(p),$$ where $$f(z) = 4\cdot 2^{-2^{1-\{z\}}} - \{z\} - 1,$$ and $\{z\} = z - \lfloor z\rfloor$ is the fractional part of $z$. The function $f(z)$ is a periodic function (with period $1$) that exhibits small oscillations (with magnitude less than $0.005$) about an even smaller average value (less than $0.0005$).

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

↑