\setcounter{AlgoLine}{0}
\DontPrintSemicolon
	{\KwIn{Solution $s$, neighbourhood specification $N(\cdot)$, fitness function $f(\cdot)$ to minimize.}
		\KwResult{Improved solution $s$}
		\Repeat{$end$}
		{$end \leftarrow$ true\\
			$best\_neighbour\_value \leftarrow \infty$\\
			\ForAll{$s' \in N(s)$}
			{
				\If(A better neighbour is found){$f(s') < best\_neighbour\_value$}
				{$best\_neighbour\_value \leftarrow f(s')$\\
					$best\_neighbour \leftarrow s'$} 
			}
			\If(Move to the improved solution){$best\_neighbour\_value < f(s)$}
			{$s \leftarrow best\_neighbour$\\
				$end \leftarrow$ false}
			
		}
	}


