知识卡片
随机赋值给出八分之七期望
若每个变量独立等概率取真假,且每个三文字子句不含重复变量及其否定,子句全假的概率为1/8,满足概率为7/8。
对m个子句用期望线性性得平均满足7m/8个;最优值至多m,所以随机算法的期望近似比至多8/7。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第35章 近似算法 · 查看原书依据
Pr {clause i is not satisfied} = (1/2)3 = 1/8. Thus, we have Pr {clause i is satisfied} = 1 − 1/8 = 7/8, and Lemma 5.1 on page 130 gives E [Yi] = 7/8. Let Y be the number of satisfied clauses overall, so that Y = Y1 + Y2 + ⋯ + Ym. Then, we have Since m is an upper bound on the number of satisfied clauses, the approximation ratio is at most
参考来源
- 位置:《算法导论(第4版)》第35章《近似算法》(OEBPS/chapter035.xhtml,文本字符[35000,40000))。
- 结论依据:第35章无三角约束旅行商、集合覆盖与随机近似、线性松弛的原文论证;图35.3已核对。
- 原始内容:Pr {clause i is not satisfied} = (1/2) 3 = 1/8. Thus, we have Pr {clause i is satisfied} = 1 − 1/8 = 7/8, and Lemma 5.1 on page 130 gives E [ Y i ] = 7/8. Let Y be the number of satisfied clauses overall, so that Y = Y 1 + Y 2 + ⋯ + Y m . Then, we have Since m is an upper bound on the number of satisfied clauses, the approximation ratio is at most