diff --git a/Rapport_de_session/Annexe2.tex b/Rapport_de_session/Annexe2.tex index d8e6884..55e643d 100644 --- a/Rapport_de_session/Annexe2.tex +++ b/Rapport_de_session/Annexe2.tex @@ -2,7 +2,7 @@ \label{sec:AnnexePseudo} \begin{algorithm} \DontPrintSemicolon - \KwData{nbEmployees, maxBacktrack, nbRecoveryActions, alreadyPerformedMatrix $\leftarrow$ False, currentRecoveredSchedule, solutionFound $\leftarrow$ 0} + \KwData{nbEmployees, maxBacktrack, nbRecoveryActions $\leftarrow$ totalNumberRecoveryActions, alreadyPerformedMatrix $\leftarrow$ False, currentRecoveredSchedule, solutionFound $\leftarrow$ False} \KwResult{currentRecoveredSchedule} \While{$\neg$solutionFound $\wedge$ nbBacktrack $<$ maxBacktrack}{ \If{nbAvailRecoveryActions $>$ 0}{ @@ -13,15 +13,17 @@ } \Else{ Erase changes made on currentRecoveredSchedule\; + nbRecoveryActions $\leftarrow$ totalNumberRecoveryActions\; nbBacktrack++\; } \If{nbAvailRecoveryActions = 0}{ solutionFound $\leftarrow$ True\; } \ElseIf{nbBacktrack mod nbEmployees = 0}{ - Erase changes made on currentRecoveredSchedule\; - initialize alreadyPerformedMatrix\; - } + Erase changes made on currentRecoveredSchedule\; + initialize alreadyPerformedMatrix\; + nbRecoveryActions $\leftarrow$ totalNumberRecoveryActions\; + } } \caption{Algorithme de recouvrement} \end{algorithm} diff --git a/Rapport_de_session/rapport_de_recherche.pdf b/Rapport_de_session/rapport_de_recherche.pdf index c582431..83bd13a 100644 Binary files a/Rapport_de_session/rapport_de_recherche.pdf and b/Rapport_de_session/rapport_de_recherche.pdf differ