|
Algorithm 3 The pseudo-codes of the HDA-GA. |
-
1:
Define the , , , and r
-
2:
Initialize by and by
-
3:
Calculate the initialized objective function values
-
4:
Initialized constrained non-dominated sorting by Algorithm 1
-
5:
While ()
-
6:
Update neighboring radius and the factors
-
7:
Calculate the objective function values
-
8:
Update The Archive with respect to Algorithm 2
-
9:
Select the Food source and Enemy from
-
10:
If
-
11:
Select individuals from the particular front based on crowding distance by Equation (38)
-
12:
end if
-
13:
For
to do
-
14:
Find their neighbors with respect to the Euclidean distance
-
15:
Calculate
-
16:
If an individual has one neighbor at least
-
17:
Update by Equation (27) and by Equation (28)
-
18:
end if
-
19:
If an individual has no neighbor
-
20:
Update by Equation (29)
-
21:
end if
-
22:
end for
-
23:
For
to
-
24:
Selected()
-
25:
Crossover()
-
26:
Mutation()
-
27:
end for
-
28:
End While
|