arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1511.05210cs.CC
收藏

不带广义运算的一次计数

Counting Ones Without Broadword Operations

Holger Petersen

摘要:

给出了用于对长度为$n$的二进制输入字$x$中的1的数目进行计数的时间下限$Ω(\min(ν(x), n-ν(x))$,其中$ν(x)$是1的数目。可用的操作有递增、递减、逐位逻辑操作和赋值。唯一可用的常数是零。还得到了一个几乎匹配的上界。

英文摘要:

A lower time bound $Ω(\min(ν(x), n-ν(x))$ for counting the number of ones in a binary input word $x$ of length $n$ is presented, where $ν(x)$ is the number of ones. The operations available are increment, decrement, bit-wise logical operations, and assignment. The only constant available is zero. An almost matching upper bound is also obtained.

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

↑