计算机科学 > 数据结构与算法
[提交于 2020年11月11日]
标题:An Instance-Based Algorithm for Deciding the Bias of a Coin
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Let $q \in (0,1)$ and $\delta \in (0,1)$ be real numbers, and let $C$ be a coin that comes up heads with an unknown probability $p$, such that $p \neq q$. We present an algorithm that, on input $C$, $q$, and $\delta$, decides, with probability at least $1-\delta$, whether $p<q$ or $p>q$. The expected number of coin flips made by this algorithm is $O \left( \frac{\log\log(1/\varepsilon) + \log(1/\delta)}{\varepsilon^2} \right)$, where $\varepsilon = |p-q|$.
提交历史
来自:Michiel Smid[v1] 2020年11月11日 星期三 01:38:36 UTC