\setcounter{AlgoLine}{0}
\DontPrintSemicolon
	\KwIn{Solution $s$, fitness function $f$ to minimize, neighbourhood structure $M$, parameters \textcolor{myevidence}{$h$, stopping criterion}}
	\KwResult{Improved solution $s$}
	\For{$k \in 0 \dots h-1$}
	{ $L_k \leftarrow f(s)$
	}
	$i \leftarrow 0$\\
	\Repeat{The stopping criterion is satisfied}
	{ Randomly select a move $m \in M$\\
		\If{$f(s \oplus m) < L_i$ or $f(s \oplus m) \leqslant f(s)$}
		{$s \leftarrow s \oplus m$}
		\If{$f(s) < L_i$}
		{$L_i \leftarrow f(s)$}
		$i \leftarrow (i+1) \mod h$\\
	}

