Research Article

A Free Search Krill Herd Algorithm for Functions Optimization

Algorithm 3

Opposition-based population initialization.
For   to do
For   to   do
     ;
End For
End For
   /* opposition-based population initialization */
For   to do
  For   to   do
     ;
  End For
End For
  Select the fittest individuals from as initial population.