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.

AlgorithmsParametersValue

GAQuantity of chromosomes40
Chromosome lengthDepends on the quantity of modules
Rate of crossover0.80
Rate of mutation0.05
Quantity of iterations100

PSOQuantity of particles40
Inertia weight0.80
Damping ratio of inertia weight0.99
Particle.C1 and Particle.C2[1.5, 1.7]
Number of iterations100

SCSOQuantity of cats40
Range of sensitivity (rG)[0, 2]
Range of phases control (R)[−2rG, 2rG]
0.80
0.04

COAQuantity of nests40
Lavy distribution parameter1.50
Length of step0.01
Number of iterations100

HOAQuantity of horses40
0.90
0.50
0.20
0.10
0.20
, 0.10
0.05