知识卡片
随机顺序雇用约为对数次
若 n 名候选的质量次序是均匀随机排列,第 i 位刷新前 i 人最佳纪录的概率为 1/i。用指示变量得雇用次数期望 Σ₁ⁿ1/i=ln n+O(1),因此高成本雇用费用期望为 O(cₕ ln n)。该结论依赖随机顺序假设。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第5章 概率分析和随机算法 · 查看原书依据
Candidate i has a probability of 1/i of being better qualified than candidates 1 through i – 1 and thus a probability of 1/i of being hired.
参考来源
- 位置:《算法导论(第4版)》第 5 章 5.1–5.2 节(`OEBPS/chapter005.xhtml`,文本字符 [10000, 15000);公式图 Art_P245–P255)。
- 结论依据:引理 5.2 的前提是候选顺序均匀随机;第 i 人成为前 i 人最优的概率为 1/i,故期望录用次数为调和和 Hₙ。
- 原始内容:Candidate i has a probability of 1/ i of being better qualified than candidates 1 through i – 1 and thus a probability of 1/ i of being hired.