知识卡片
矩阵链递归重复区间
朴素矩阵链递归逐一试分割,同一 (i,j) 区间会在多条递归分支被重算,调用树至少指数增长;真正不同的区间状态只有 Θ(n²)。性能改进来自一次求值、多次查表,而非改变最优分割递推。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第14章 动态规划 · 查看原书依据
The recursive algorithm, on the other hand, must solve each subproblem every time it reappears in the recursion tree.
参考来源
- 位置:《算法导论(第4版)》第 14 章 14.3–14.4 节(`OEBPS/chapter014.xhtml`,文本字符 [60000, 65000);图 14.7、Art_P465–P468)。
- 结论依据:14.3 节比较矩阵链递归树与动态规划:区间状态仅 Θ(n²) 个,但自然递归每次出现都重算;存表只改变重复求值次数,不改递推定义。
- 原始内容:The recursive algorithm, on the other hand, must solve each subproblem every time it reappears in the recursion tree.