知识卡片

普通读书笔记卡 · 3652.c.1.a.1

SCC算法证明用白路径定理

理解等级:中级

第二次 DFS 选到某分量根 u 时,该分量其余顶点仍是白色且与 u 互达,白路径定理保证它们全成为 u 后代;跨分量边只到已访问分量,故树不混入其他分量。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第20章 基本图算法 · 查看原书依据

      Theorem 20.16 The STRONGLY-CONNECTED-COMPONENTS procedure correctly computes the strongly connected components of the directed graph G provided as its input. Proof We argue by induction on the number of depth-first trees found in the

    参考来源

    - 位置:《算法导论(第4版)》第20章《基本图算法》(OEBPS/chapter020.xhtml,文本字符[60000,65000))。 - 结论依据:定理20.16归纳证明第二次 DFS 的每棵树刚好覆盖一个分量。 - 原始内容:Theorem 20.16 The S TRONGLY -C ONNECTED -C OMPONENTS procedure correctly computes the strongly connected components of the directed graph G provided as its input. Proof We argue by induction on the number of depth-first trees found in the