summaryrefslogtreecommitdiff
path: root/graph/graph.tex
diff options
context:
space:
mode:
authorPaul Jungeblut <s_jungeb@i08pc75.atis-stud.uni-karlsruhe.de>2014-11-18 14:19:42 +0100
committerPaul Jungeblut <s_jungeb@i08pc75.atis-stud.uni-karlsruhe.de>2014-11-18 14:19:42 +0100
commitfee5322fe37cb270a93c1693e2668e53138f192d (patch)
tree0118a14e625bc47c7619df8556b9c824bd8b7760 /graph/graph.tex
parent8ceb0e35278563a3b315f04fc60fc9086d6c7a8a (diff)
dijkstra
Diffstat (limited to 'graph/graph.tex')
-rw-r--r--graph/graph.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/graph/graph.tex b/graph/graph.tex
index 4646ee3..2bf395c 100644
--- a/graph/graph.tex
+++ b/graph/graph.tex
@@ -2,7 +2,12 @@
\subsection{Kürzeste Wege}
+\subsubsection{Algorithmus von \textsc{Dijkstra}}
+Kürzeste Pfade in Graphen ohne negative Kanten.
+\lstinputlisting{graph/dijkstra.cpp}
+
\subsubsection{\textsc{Bellmann-Ford}-Algorithmus}
+Kürzestes Pfade in Graphen mit negativen Kanten. Erkennt negative Zyklen.
\lstinputlisting{graph/bellmannFord.cpp}
\subsection{Strongly Connected Components (\textsc{Tarjans}-Algorithmus)}