2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

Improve pseudocode

This commit is contained in:
Martin Thoma 2016-08-04 23:19:19 +02:00
parent dd9390388d
commit ddd08a2a45
10 changed files with 11 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Before After
Before After

View file

@ -43,14 +43,13 @@
\State $u \gets d_v + g_{vt}$
\EndIf
\EndIf
\If{$d_c + m_c < u$}
\State $u \gets d_c + m_c$
\EndIf
\State $u \gets \min (u, d_c + m_c)$
\EndFor
\EndWhile
\Return $u, t$
\EndProcedure
\end{algorithmic}
\caption{Label correction algorithm}
\caption{Label correction algorithm: Find shortest path}
\label{alg:label-correction-algorithm}
\end{algorithm}
\end{preview}