知识卡片
竞争比衡量最坏相对代价
最小化问题的竞争比是所有可能输入中在线代价与离线最优代价之比的最大值,至少为1。
比值越接近1,说明未知未来造成的最坏额外代价越小;它并非平均性能。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第27章 在线算法 · 查看原书依据
We typically evaluate online algorithms by their competitive ratio. Let U denote the set (universe) of all possible inputs, and consider some input I ∈ U. For a minimization problem, such as the stairs-versus-elevator problem, if an online
参考来源
- 位置:《算法导论(第4版)》第27章《在线算法》(OEBPS/chapter027.xhtml,文本字符[5000,10000))。
- 结论依据:原文定义在线决策或竞争比,并用电梯和搜索链表示例给出适用条件与成本。
- 原始内容:We typically evaluate online algorithms by their competitive ratio . Let U denote the set (universe) of all possible inputs, and consider some input I ∈ U . For a minimization problem, such as the stairs-versus-elevator problem, if an online