Research Article

Elite Opposition-Based Water Wave Optimization Algorithm for Global Optimization

Algorithm 1

The WWO algorithm.
Input: Define objective function ,
Output: The best solution ;
(1) Initialization: Initialize parameters including , , , randomly initialize a population of waves;
(2) while stop criterion is not satified do
(3)   for each do
(4)     Propagate to a new based on equation (2);
(5)    if then
(6)      if then
(7)      Break based on equation (5);
(8)      Update with ;
(9)     endif
(10)      Replace with ;
(11)    else
(12)      Decrease by one;
(13)     if then
(14)      Refract to a new based on equation (6) and equation (7);
(15)     endif
(16)    endif
(17)      Update the wavelength based on equation (4);
(18)   endfor
(19) endwhile