Algorithm 1 ADSCFGWO algorithm |
-
1:
Initialize ADSCFGWO population with size n, iterations , fitness function , parameters (a, , , , , , , , , )
-
2:
Calculate fitness function for each
-
3:
Find best solutions as
-
4:
Set t = 1
-
5:
whiledo
-
6:
Update by
-
7:
for () do
-
8:
DynamicSearch()
-
9:
Update Fitness by Equation (3)
-
10:
Update positions from GWO as
-
11:
if () then
-
12:
Update positions from SCA as
-
13:
end if
-
14:
end for
-
15:
for () do
-
16:
DynamicSearch()
-
17:
Update Fitness by Equation (3)
-
18:
Update positions from GWO as
-
19:
if () then
-
20:
Update positions from SCA as
-
21:
end if
-
22:
end for
-
23:
Update fitness function for each
-
24:
Update parameters
-
25:
Find best solutions as
-
26:
end while
-
27:
Return best solution
-
28:
DynamicSearch()
-
29:
if (Best is same for three iterations) then
-
30:
Increase exploration group solutions
-
31:
Decrease exploitation group solutions
-
33:
end if
|