知识卡片
完成时间令转置DFS按分量成树
首次 DFS 中跨分量边使源分量的最大完成时间更晚。
第二次在转置图按完成时间降序选根时,当前分量指向未访问分量的边被排除,于是每棵 DFS 树恰是一整个强连通分量。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第20章 基本图算法 · 查看原书依据
Corollary 20.15 provides the key to understanding why the strongly connected components algorithm works. Let’s examine what happens during the second depth-first search, which is on GT. The search starts from the vertex x whose finish
参考来源
- 位置:《算法导论(第4版)》第20章《基本图算法》(OEBPS/chapter020.xhtml,文本字符[60000,65000))。
- 结论依据:推论20.15限制转置图中尚未访问分量的外出边;定理20.16据此证明每棵树恰好一个分量。
- 原始内容:Corollary 20.15 provides the key to understanding why the strongly connected components algorithm works. Let’s examine what happens during the second depth-first search, which is on G T . The search starts from the vertex x whose finish