知识卡片
跨分量边约束完成时间
对强连通分量 C,定义 f(C)=max{u.f:u∈C},即第一遍 DFS 中该分量顶点的最大完成时间。若分量图中有边 C′→C 且两者不同,则 f(C′)>f(C)。
若 DFS 先进入 C′,可沿跨分量边探索 C,必须完成 C 后才能完成 C′;若先进入 C,由于不同强连通分量不可能从 C 返回 C′,C 会先独立完成。两种发现顺序都得到同一严格次序,它保证第二遍能按完成时间递减选择正确分量。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第20章 基本图算法 · 查看原书依据
Lemma 20.14 Let C and C′ be distinct strongly connected components in directed graph G = (V, E). Suppose that there is an edge (u, v) ∈ E, where u ∈ C′ and v ∈ C. Then f(C′) > f(C). Proof We consider two cases, depending on which
参考来源
- 位置:《算法导论(第4版)》第20章《基本图算法》(OEBPS/chapter020.xhtml,文本字符[55000,60000))。
- 结论依据:引理20.14明确跨分量边与最大完成时间的不等式;证明延续至下一单元。
- 原始内容:Lemma 20.14 Let C and C ′ be distinct strongly connected components in directed graph G = ( V , E ). Suppose that there is an edge ( u , v ) ∈ E , where u ∈ C ′ and v ∈ C . Then f ( C ′) > f ( C ). Proof We consider two cases, depending on which