Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b46830c

Browse filesBrowse files
committed
change title
1 parent 469c6f4 commit b46830c
Copy full SHA for b46830c

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎src/graph/strongly-connected-components.md

Copy file name to clipboardExpand all lines: src/graph/strongly-connected-components.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tags:
44
e_maxx_link: strong_connected_components
55
---
66

7-
# Finding strongly connected components / Building condensation graph
7+
# Strongly connected components and the condensation graph
88

99
# Definitions
1010
Let $G=(V,E)$ be a directed graph with vertices $V$ and edges $E$. We denote with $n=|V|$ the number of vertices and with $m=|E|$ the number of edges in $G$.
@@ -20,14 +20,14 @@ As an example, consider this graph $G_\text{example}$, in which the strongly con
2020

2121
<img src="strongly-connected-components-tikzpicture/graph.svg" alt="drawing" style="width:700px;"/>
2222

23-
In this case, $\text{SCC}(G_\text{example})=\{\{0,7\},\{1,2,3,5,6\},\{4,9\},\{8\}\}.$ We can confirm that within each strongly connected component, all vertices are reachable from each other.
23+
Here we have $\text{SCC}(G_\text{example})=\{\{0,7\},\{1,2,3,5,6\},\{4,9\},\{8\}\}.$ We can confirm that within each strongly connected component, all vertices are reachable from each other.
2424

2525
We define the **condensation graph** $G^{\text{SCC}}=(V^{\text{SCC}}, E^{\text{SCC}})$ as follows:
2626

2727
- the vertices of $G^{\text{SCC}}$ are the strongly connected components of $G$; i.e., $V^{\text{SCC}} = \text{SCC}(G)$, and
2828
- for all vertices $C_i,C_j$ of the condensation graph, there is an edge from $C_i$ to $C_j$ if and only if $C_i \neq C_j$ and there exist $a\in C_i$ and $b\in C_j$ such that there is an edge from $a$ to $b$ in $G$.
2929

30-
Here is the condensation graph of $G_\text{example}$:
30+
The condensation graph of $G_\text{example}$ looks as follows:
3131

3232
<img src="strongly-connected-components-tikzpicture/cond_graph.svg" alt="drawing" style="width:700px;"/>
3333

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.