Research Article
A Modified Horse Herd Optimization Algorithm and Its Application in the Program Source Code Clustering
Table 2
Various SMC algorithms’ parameters that are adjusted experimentally.
| | Algorithms | Parameters | Value |
| | GA | Quantity of chromosomes | 40 | | Chromosome length | Depends on the quantity of modules | | Rate of crossover | 0.80 | | Rate of mutation | 0.05 | | Quantity of iterations | 100 |
| | PSO | Quantity of particles | 40 | | Inertia weight | 0.80 | | Damping ratio of inertia weight | 0.99 | | Particle.C1 and Particle.C2 | [1.5, 1.7] | | Number of iterations | 100 |
| | SCSO | Quantity of cats | 40 | | Range of sensitivity (rG) | [0, 2] | | Range of phases control (R) | [−2rG, 2rG] | | 0.80 | | 0.04 |
| | COA | Quantity of nests | 40 | | Lavy distribution parameter | 1.50 | | Length of step | 0.01 | | Number of iterations | 100 |
| | HOA | Quantity of horses | 40 | | 0.90 | | 0.50 | | 0.20 | | 0.10 | | 0.20 | | , | 0.10 | | 0.05 |
|
|