defense/src/alg/app/graspels.tex

11 lines
339 B
TeX

\begin{algorithmic}
\Function{GRASP\textcolor{red}{$\times$ELS}}{$N, P$}
\For{$i = 1..N$}
\State $S_i \gets \Call{heuristiqueConstructive}{P}$
\State $S_i \gets \Call{\textcolor{red}{ELS}}{P, S_i}$
\EndFor
\State $S^* \gets \Call{sélection}{\{S_1, S_2, \dots, S_{N}\}}$
\State \Return $S^*$
\EndFunction
\end{algorithmic}