知识卡片
反转全部边不改变强连通分量
把图的每条边反向得到转置图;任意两点的互相可达关系仍成立,因此强连通分量不变。
邻接表构造转置图需 Θ(V+E)。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第20章 基本图算法 · 查看原书依据
The graphs G and GT have exactly the same strongly connected components: u and v are reachable from each other in G if and only if they are reachable from each other in GT. Figure 20.9(b) shows the transpose of the graph in Figure 20.9(a), with
参考来源
- 位置:《算法导论(第4版)》第20章《基本图算法》(OEBPS/chapter020.xhtml,文本字符[55000,60000))。
- 结论依据:原文说明转置只是路径方向互换,且给出邻接表构造成本。
- 原始内容:The graphs G and G T have exactly the same strongly connected components: u and v are reachable from each other in G if and only if they are reachable from each other in G T . Figure 20.9(b) shows the transpose of the graph in Figure 20.9(a) , with