知识卡片
加权活动选择改为价值目标
给活动附加价值后,目标变为在互不冲突的集合中最大化价值总和,而非最大化活动数量。
原来的最早结束规则只针对数量目标得到证明,不能不经新证明就移用到加权问题。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第15章 贪心算法 · 查看原书依据
The objective is no longer to maximize the number of activities scheduled, but instead to maximize the total value of the activities scheduled.
参考来源
- 位置:《算法导论(第4版)》第 15 章《贪心算法》(`OEBPS/chapter015.xhtml`,文本字符 [15000, 20000))。
- 结论依据:练习明确更改了目标函数;既有定理的范围是最大活动数。
- 原始内容:The objective is no longer to maximize the number of activities scheduled, but instead to maximize the total value of the activities scheduled.