1

Please how can divide my algorithm ? This doesn't work for me. Thanks

 \begin{algorithm}[H]
 \caption{Retrait des ressources } \label{algo:1}
 \begin{algorithmic}[1]

 \Debut \strut
 \LState 
 \If {(scoreGA > scoreGB)}

\LState \textbf{A} continue l'exécution 

\algstore{testcont}
\end{algorithmic}
\addtocounter{algorithm}{-1}%% <===
\end{algorithm}

\begin{algorithm}[H]
\caption{Retrait des ressources - Partie 2} 
\begin{algorithmic}[1]
\algrestore{testcont}

\Else
\LState  B est autorisé. 

\EndIf
\Fin
\end{algorithmic}
\end{algorithm}
Torbjørn T.
  • 206,688

0 Answers0