diff --git a/contents.tex b/contents.tex index e0b3dd80f1e11ec00ed96f9a3235f249a6cd874b..5f475bcccc0e669c9f2bb78af6ecc5e1d3e7b086 100644 --- a/contents.tex +++ b/contents.tex @@ -163,6 +163,7 @@ Für Algorithmen kann das bereits inkludierte Paket \texttt{algorithmicx} genutzt werden. In \cref{alg:minimax} wird exemplarisch eine Implementierung des Minimax-Algorithmus aufgeführt. +Beachten Sie, dass \cref{line:commented} kommentiert und referenzierbar ist. \begin{algorithm} \caption{Determining the next action by Minimax}% @@ -174,7 +175,7 @@ Minimax-Algorithmus aufgeführt. \ForAll{\(G^n_a \in S(G^n)\)} \State \(\mathit{value} = \) \Call{MinimaxValue}{\(G^n_a\), true} \If{\(\mathit{value} > \mathit{bestValue}\)} - \Comment{Aktualisiere besten Wert} + \Comment{Aktualisiere besten Wert}\label{line:commented} \State \(\mathit{bestValue} \gets \mathit{value}\) \State \(\mathit{bestAction} \gets a\) \EndIf