知识卡片
省去取整须有适用条件
分析规模按比例缩小的递归式时,常把整数输入上的上取整、下取整去掉,改在实数上求渐近界。
这是简化记号的惯例,不是普遍等价;必须核查递归式满足相应充分条件,并保留基例与终止路径。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第4章 分治策略 · 查看原书依据
Section 4.7 gives a sufficient condition for ignoring floors and ceilings that applies to most of the divide-and-conquer recurrences you’re likely to see.
参考来源
- 位置:《算法导论(第4版)》第 4 章“Conventions for recurrences”(`OEBPS/chapter004.xhtml`,文本字符 [5000, 10000))。
- 结论依据:原文称第 4.7 节给出忽略 floor/ceiling 的充分条件,适用于大多数常见分治递归式。
- 原始内容:Section 4.7 gives a sufficient condition for ignoring floors and ceilings that applies to most of the divide-and-conquer recurrences you’re likely to see.