\setcounter{AlgoLine}{0}
\DontPrintSemicolon
	\KwIn{Solution $s$, fitness function $f$ to minimize, neighbourhood structure $M$, parameters \textcolor{myevidence}{$I_{max}, D, D_{max}$}}
	\KwResult {$s^*$}
	$s^* \leftarrow s$\\
	\For{$I_{max}$ iterations}
	{
		Randomly generate a move $m \in M$\\
		$\Delta = f(s\oplus m) - f(s)$\\
		\If{$\Delta \leqslant D$}
		{ $D \leftarrow D - \Delta$\\
			\If{$D  > D_{max}$}
			{$D \leftarrow D_{max}$}
			$s \leftarrow s \oplus m$\\
			\If{$f(s^*) > f(s)$}
			{$s^* \leftarrow s$}
		}
	}

