Greedy selection mechanism
If dominates
  Put into EA
Else if dominates
  Do nothing
Else if and are not dominated by each other
  Put into EA
  Produce a random number drawn from a uniform distribution on the unit interval
  If
     The the original solution is replaced by the new solution as new food source position.
     That means is replaced by .
  Else
    Do nothing
  End If
End If
Algorithm 3: Greedy selection mechanism.