知识卡片

普通读书笔记卡 · 3677.b.2.a

移首策略在此模型下四竞争

理解等级:高级

在访问位置与相邻交换均计费的模型中,移至表首的任意请求序列总成本不超过预知未来的最优策略的四倍。

这个保证比较整段序列,并不要求每一步成本都较低。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第27章 在线算法 · 查看原书依据

      Thus the total cost of the m MOVE-TO-FRONT operations is at most 4 times the total cost of the m FORESEE operations, so MOVE-TO-FRONT is 4-competitive. ▪ Isn’t it amazing that we can compare MOVE-TO-FRONT with the

    参考来源

    - 位置:《算法导论(第4版)》第27章《在线算法》(OEBPS/chapter027.xhtml,文本字符[20000,25000))。 - 结论依据:原文分别定义逆序、势能比较或缓存策略及其成本模型;正文补充其用途与边界。 - 原始内容:Thus the total cost of the m M OVE -T O -F RONT operations is at most 4 times the total cost of the m F ORESEE operations, so M OVE -T O -F RONT is 4-competitive. ▪ Isn’t it amazing that we can compare M OVE -T O -F RONT with the