2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-25 14:28:05 +02:00

special case when no label was visited

This commit is contained in:
Martin Thoma 2014-01-05 10:35:19 +01:00
parent fb48885a4e
commit b2183da1a5
2 changed files with 12 additions and 2 deletions

View file

@ -115,8 +115,18 @@ tatsächlich die Grapherweiterung:
\State \Call{InhaltlicherMehrfachsprung}{$v$, $l$} \State \Call{InhaltlicherMehrfachsprung}{$v$, $l$}
\EndIf \EndIf
\EndFor \EndFor
\State $label \gets \Call{max}{d}$
\State $v.\Call{SetLabel}{label}$ \If{$d$ ist leer}
\State $M_H \gets \Call{HäufigsteLabelImGraph}{}$
\ForAll{$label$ in $M_H$}
\State $v.\Call{AddLabel}{label}$
\EndFor
\Else
\State $M_H \gets \Call{max}{d}$
\ForAll{$label$ in $M_H$}
\State $v.\Call{AddLabel}{label}$
\EndFor
\EndIf
\EndFor \EndFor
\State \Return Labels für $\N_t \setminus \T_t$ \State \Return Labels für $\N_t \setminus \T_t$
\end{algorithmic} \end{algorithmic}

BIN
documents/DYCOS/DYCOS.pdf Normal file

Binary file not shown.