Skip to content

Commit f4b3019

Browse files
committed
(add sentence about multigraph)
1 parent f5a4c9f commit f4b3019

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/graph/strongly-connected-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ e_maxx_link: strong_connected_components
77
# Strongly connected components and the condensation graph
88

99
## Definitions
10-
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$.
10+
Let $G=(V,E)$ be a directed graph with vertices $V$ and edges $E \subseteq V \times V$. We denote with $n=|V|$ the number of vertices and with $m=|E|$ the number of edges in $G$. It is easy to extend all definitions in this article to multigraphs, but we will not focus on that.
1111

1212
A subset of vertices $C \subseteq V$ is called a **strongly connected component** if the following conditions hold:
1313

@@ -16,7 +16,7 @@ A subset of vertices $C \subseteq V$ is called a **strongly connected component*
1616

1717
We denote with $\text{SCC}(G)$ the set of strongly connected components of $G$. These strongly connected components do not intersect each other, and cover all nodes in the graph. Thus, the set $\text{SCC}(G)$ is a partition of $V$.
1818

19-
As an example, consider this graph $G_\text{example}$, in which the strongly connected components are highlighted:
19+
Consider this graph $G_\text{example}$, in which the strongly connected components are highlighted:
2020

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

0 commit comments

Comments
 (0)