知识卡片
差分约束解可整体平移
若一组 x 满足全部 x_j−x_i≤b_k,则每个变量同时加同一常数 d 后仍满足,因为差值不变。因此仅由差分约束不能固定绝对时间原点。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第22章 单源最短路径 · 查看原书依据
, xn) be a solution to a system Ax ≤ b of difference constraints, and let d be any constant. Then x + d = (x1 + d, x2 + d,
参考来源
- 位置:《算法导论(第4版)》第22章《单源最短路径》(OEBPS/chapter022.xhtml,文本字符[45000,50000))。
- 结论依据:引理22.8直接证明整体平移在每条约束中抵消。
- 原始内容:Lemma 22.8 Let x = ( x 1 , x 2 , … , x n ) be a solution to a system A x ≤ b of difference constraints, and let d be any constant. Then x + d = ( x 1 + d , x 2 + d , … , x n + d ) is a solution to Ax ≤ b as well. Proof For