|
Algorithm 1. Salp Swarm Algorithm |
| 1. Initialization: |
| Salp swarm random population generation where i = 1,2,3, . . . ., n
|
| 2. Determine each salp’s fitness value. |
| 3. Assign as one of the best searching agents. |
| 4. While the end condition has not arrived |
| 5. Update the convergence factor by Equation (7) |
| 6. For each and every salp |
| 7. If (n = = 1) |
| 8. Update leader salp’s position, using Equation (6) |
| 9. Else |
| 10. Update the follower salps’ position, using Equation (12) |
| 11. End if |
| 12. End for |
| 13. Estimate each salp’s fitness value using Equation (14). |
| 14. Update the with its finest solution. |
| 15. End while |
| 16. Return along with its best fitness value. |