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

基于均匀随机抽样的次线性时间近似和

Sublinear Time Approximate Sum via Uniform Random Sampling

Bin Fu, Wenfeng Li, Zhiyong Peng

摘要:

我们调查的近似计算的总和$a_1+...+a_n$与输入的非负元素列表$a_1,..., a_n$。如果所有元素都在$[0,1]$范围内,则有一个随机算法可以计算时间求和问题的$(1+ε)$近似值${O({n(\log\log n)\over\sum_{i=1}^n a_i})}$,其中$ε$是$(0,1)$中的常数。我们的随机算法是基于均匀随机抽样,它每次从输入列表中选择一个具有相同概率的元素。我们还证明了一个下界$Ω({n\over \sum_{i=1}^n a_i})$,几乎匹配的上限,这个问题。

英文摘要:

We investigate the approximation for computing the sum $a_1+...+a_n$ with an input of a list of nonnegative elements $a_1,..., a_n$. If all elements are in the range $[0,1]$, there is a randomized algorithm that can compute an $(1+ε)$-approximation for the sum problem in time ${O({n(\log\log n)\over\sum_{i=1}^n a_i})}$, where $ε$ is a constant in $(0,1)$. Our randomized algorithm is based on the uniform random sampling, which selects one element with equal probability from the input list each time. We also prove a lower bound $Ω({n\over \sum_{i=1}^n a_i})$, which almost matches the upper bound, for this problem.

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

↑