Artikulationspunkt.tex 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. \subsection{Artikulationspunkt}
  2. \begin{frame}{Artikulationspunkt}{Articulation vertex or cut vertices}
  3. \begin{block}{Definition: Artikulationspunkt (auch "Gelenkpunkt" genannt)}
  4. Ein Knoten $v \in V$ eines Graphen $G(V,E)$ heißt Artikulationspunkt
  5. $: \Leftrightarrow$ Durch das Entfernen von v zerfällt G in mehr zusammenhängende Teilgraphen,
  6. als G bereits hat.
  7. \end{block}
  8. \begin{figure}
  9. \begin{tikzpicture}[scale=1.8, auto,swap]
  10. % Draw a 7,11 network
  11. % First we draw the vertices
  12. \foreach \pos/\name in {{(0,0)/a}, {(1,0)/b}, {(2,0)/c},
  13. {(3,0)/d}, {(2.5,0.7)/e}}
  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/,c/e/,d/e/}
  17. \path (\source) edge [\pos] node {} (\dest);
  18. \end{tikzpicture}
  19. \end{figure}
  20. \end{frame}
  21. \begin{frame}
  22. \frametitle{Algorithmus}
  23. Fast wie für Brücken. Unterschiede:
  24. \begin{itemize}
  25. \item $L(v)$ hier anders definiert: bei Rückwärtskanten erst nach mindestens einer Baumkante
  26. \item Hier vergleichen wir für alle $v \in V$ $L(v)$ und $N(v)$: \\
  27. $v$ ist Art.-punkt $\Leftrightarrow L(v) = N(v)$
  28. \end{itemize}
  29. \begin{figure}
  30. \begin{tikzpicture}[scale=1.8, auto,swap]
  31. % Draw a 7,11 network
  32. % First we draw the vertices
  33. \foreach \pos/\name in {{(0,0)/a}, {(1,0)/b}, {(2,0)/c},
  34. {(3,0)/d}, {(2.5,0.7)/e}}
  35. \node[vertex] (\name) at \pos {$\name$};
  36. % Connect vertices with edges and draw weights
  37. \foreach \source/ \dest /\pos in {a/b/,b/c/,c/d/,c/e/,d/e/}
  38. \path (\source) edge [\pos] node {} (\dest);
  39. \end{tikzpicture}
  40. \end{figure}
  41. % \begin{figure}
  42. % \begin{tikzpicture}[scale=1.8, auto, swap]
  43. % \foreach \pos/\name in {{(0.5,1.5)/e}, {(1,1)/c}, {(1.5,0.5)/d}, {(0.5,0.5)/b}, {(0,0)/a}}
  44. % \node[vertex] (\name) at \pos {$\name$};
  45. % % Connect vertices with edges and draw weights
  46. % \foreach \source/ \dest /\pos in {a/b/,b/c/,d/c/,e/c/,d/e/}
  47. % \path (\source) edge [\pos] node {} (\dest);
  48. % \end{tikzpicture}
  49. % \end{figure}
  50. % <Beispiel eines Algorithmus-Durchlaufs>
  51. \end{frame}