Algorithm 1 Pseudo-code of ISMA |
Initialize the parameters popsize, Max_iteraition |
Initialize the positions of the slime mould |
While (t ≤ Max_iteraition) |
Calculate the fitness of all the slime mould |
Update bestFitness, Xb |
Calculate the W by Equation (4) |
For each search portion, |
Update p by Equation (8) |
Update positions by Equation (9) |
End For |
t = t + 1 |
End While |
Return bestFitness, Xb |