\setcounter{AlgoLine}{0}
\DontPrintSemicolon
	{\KwIn{Solution $s$, fitness function $f$ to minimize, neighbourhood structures $M_1 \dots M_p$}
		\KwResult{$s^*$}
		$s^* \leftarrow s$\\
		{$k \leftarrow 1$\\
			\While{$k \leqslant p$}
			{
				Randomly generate a move $m \in M_k$\\
				$s \leftarrow s \oplus m$\\
				Find the local optimum $s'$ associated with $s$ in neighbourhood $M_1$\\
				\uIf{$f(s') < f(s^*)$}
				{$s^* \leftarrow s'$\\
					$k \leftarrow 1$
				}
				\Else
				{$s \leftarrow s^*$\\
					$k \leftarrow k + 1$
				}
			}
		}
	}

