Research Article

Wireless Sensor Deployment Based on Multiobjective Adaptive Fish Migration Optimization

Algorithm 1: MAFMO.

Initialize the school of fish
  while less than the maximum number of iterations do
   for each particle do
     Update the position of the current particle by Equation (5) and Equation (6).
    end for
    if any of the new solutions are located outside the hypercubes then
     Update the gird to cover the new solution.
    end if
    if A dominated pbest then
     Update energy consumption.
     Update growth stage.
    end if
    The particle that reaches the fourth stage is initialized.
    Update the repository.
    if the repository is full then
     Run the grid mechanism, and update the repository.
    end if
   end while
Algorithm 1: MAFMO.