知识卡片
势能望远镜和给出总成本界
各次操作的势能变化相加会抵消中间状态,只剩终态势能减初态势能。
因此若任意前缀的势能都不低于初态,摊还总成本就上界实际总成本;只检查最后一次状态不足以保证任意前缀。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第16章 摊还分析 · 查看原书依据
If you can define a potential function Φ so that Φ(Dn) ≥ Φ(D0), then the total amortized cost gives an upper bound on the total actual cost .
参考来源
- 位置:《算法导论(第4版)》第16章《摊还分析》(OEBPS/chapter016.xhtml,文本字符[15000,20000))。
- 结论依据:16.3 节对 ĉᵢ=cᵢ+ΔΦᵢ 求和,势能项望远镜抵消为 Φ(Dₙ)−Φ(D₀);若每个前缀都满足 Φ(Dᵢ)≥Φ(D₀),则均已预付。
- 原始内容:If you can define a potential function Φ so that Φ( D n ) ≥ Φ( D 0 ), then the total amortized cost gives an upper bound on the total actual cost .