|
Algorithm 1 Pseudo-code of MPA algorithm. |
| 1: Initialization step, P, TP, TF, . |
| 2: while t do
|
| 3: Compute the fitness value of each
|
| 4: Construct E
|
| 5: Implement the memory saving |
| 6: Update using Equation (16) |
| 7: for each do
|
| 8: if then
|
| 9: Reposition the current based on Equation (11) |
| 10: else
|
| 11: if then
|
| 12: if then
|
| 13: Reposition the current using Equation (13) |
| 14: else
|
| 15: Reposition the current using Equation (15) |
| 16: end if
|
| 17: else
|
| 18: Reposition the current using Equation (18) |
| 19: end if
|
| 20: end if
|
| 21: end for
|
| 22: Compute the fitness value of each
|
| 23: Update , and . |
| 24: Apply the memory saving |
| 25: Apply the FADS for ∀
|
| 26:
|
| 27: end while
|