Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132928 views
License: OTHER
1
\subsection{Zusammenhang von Graphen: Was ist das?}
2
\begin{frame}{Zusammenhang von Graphen}{Connectivity}
3
\begin{block}{Streng zusammenhängender Graph}
4
Ein streng zusammenhängender Graph ist ein gerichteter Graph,
5
in dem jeder Knoten von jedem erreichbar ist.
6
\end{block}
7
\begin{figure}
8
\begin{tikzpicture}[->,scale=1.8, auto,swap]
9
% Draw a 7,11 network
10
% First we draw the vertices
11
\foreach \pos/\name in {{(0,0)/a}, {(0,2)/b}, {(1,2)/c},
12
{(1,0)/d}, {(2,1)/e}, {(3,1)/f},
13
{(3,2)/g}, {(2,0)/h}}
14
\node[vertex] (\name) at \pos {$\name$};
15
% Connect vertices with edges and draw weights
16
\foreach \source/ \dest /\pos in {a/b/,b/c/,c/d/,d/a/,
17
c/e/bend left, d/e/,e/c/, f/g/,
18
g/f/bend left, d/h/}
19
\path (\source) edge [\pos] node {} (\dest);
20
\end{tikzpicture}
21
\end{figure}
22
\end{frame}
23
24
\begin{frame}{Zusammenhang von Graphen}{Connectivity}
25
\begin{block}{Zusammenhangskomponente}
26
Eine Zusammenhangskomponente ist ein maximaler Subgraph S
27
eines gerichteten Graphen, wobei S streng zusammenhängend ist.
28
% Muss dieser Subgraph maximal sein?
29
\end{block}
30
\begin{figure}
31
\begin{tikzpicture}[->,scale=1.8, auto,swap]
32
% Draw a 7,11 network
33
% First we draw the vertices
34
\foreach \pos/\name in {{(0,0)/a}, {(0,2)/b}, {(1,2)/c},
35
{(1,0)/d}, {(2,1)/e}, {(3,1)/f},
36
{(3,2)/g}, {(2,0)/h}}
37
\node[vertex] (\name) at \pos {$\name$};
38
% Connect vertices with edges
39
\foreach \source/ \dest /\pos in {a/b/,b/c/,c/d/,d/a/,
40
c/e/bend left, d/e/,e/c/, f/g/,
41
g/f/bend left, d/h/}
42
\path (\source) edge [\pos] node {} (\dest);
43
44
% colorize the vertices
45
\foreach \vertex in {a,b,c,d,e}
46
\path node[selected vertex] at (\vertex) {$\vertex$};
47
48
\foreach \vertex in {f,g}
49
\path node[blue vertex] at (\vertex) {$\vertex$};
50
51
\foreach \vertex in {h}
52
\path node[yellow vertex] at (\vertex) {$\vertex$};
53
\end{tikzpicture}
54
\end{figure}
55
\end{frame}
56
57
\begin{frame}{Elementare Eigenschaften}
58
\begin{block}{}
59
Die Knotenmengen verschiedener SCCs sind disjunkt.
60
\end{block}
61
62
\begin{block}{}
63
SCCs bilden Zyklen.
64
\end{block}
65
66
\begin{block}{}
67
Die Vereinigung aller Knoten aller SCCs ergibt alle Knoten
68
des ursprünglichen Graphen.
69
\end{block}
70
\end{frame}
71
72