|
Algorithm 1. Pseudocode of SSO algorithm |
| Initialise the population of social spiders |
| Initialise the target vibration |
| Initialise the parameters, and
|
| Evaluate the fitness measure for all social spiders |
| For all social spiders, |
| { |
| Calculate the vibration intensity |
| Select the strongest vibration among all |
| { |
|
| Store position of foraging spider as the best solution |
| } |
| While
|
| { |
| Update the position of the foraging spider as per Equation (8) |
| } |
| End For |
| Update the parameters, and
|
| Evaluate fitness of all social spiders |
| Sort the positions as per fitness measure (accuracy) |
|
| } |
| End For |
| Return
|