Determine the updated subpopulation denoted as based on the small . Another one denoted as . Then, all the spiders in in descending order of the fitness and the top 20% of spiders are selected to form a set of candidate migrator .
(9)
for each individual in
(10)
Calculate for each according to the opposite of equation (1), where is the best individual.
(11)
end for Si
(12)
Select the spider with the largest , which is used to replace the spider with the worst fitness in . Meanwhile, is replaced by new spider randomly generated in .