知识卡片

普通读书笔记卡 · 3596.c.4.a.1.b

主定理存在适用间隙

理解等级:中级

仅有 f(n)=o(n^log_b a) 不足以应用主定理第一类;还须有多项式级差距。

例如 T(n)=2T(n/2)+n/log n,驱动项只比 n 慢一个对数因子,第一类不成立,第二类又要求 k≥0。

应改用代入法等方法。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第4章 分治策略 · 查看原书依据

      If the driving function falls into one of these gaps, or if the regularity condition in case 3 fails to hold, you’ll need to use something other than the master method to solve the recurrence.

    参考来源

    - 位置:《算法导论(第4版)》第 4 章 4.5 节(`OEBPS/chapter004.xhtml`,文本字符 [65000, 70000);公式图 Art_P129–P158)。 - 结论依据:4.5 节用 T(n)=2T(n/2)+n/lg n 展示主定理间隙:f 虽为 o(n),却没有第一类所需的多项式级差距。 - 原始内容:If the driving function falls into one of these gaps, or if the regularity condition in case 3 fails to hold, you’ll need to use something other than the master method to solve the recurrence.