
\While{t $<$ maximum number of iterations}
\For {each search agent}
\State Update the position of current search agent by equation
\EndFor
\State Update a,A and C
\State Calculate fitness of all search agents
\State Update \textit{W$_{\alpha}$}, \textit{W$_{\beta}$} and \textit{W$_{\gamma}$}
\State t=t+1