|
Algorithm 4 Population Evaluation. |
-
1:
for individual to n do
-
2:
Get the index of the biggest in .
-
3:
for task to k do
-
4:
if or then
-
5:
.
-
6:
else
-
7:
.
-
8:
end if
-
9:
if is better than ’s fitness on j then
-
10:
Update the .
-
11:
if is better than fitness of then
-
12:
Update the .
-
13:
end if
-
14:
end if
-
15:
end for
-
16:
end for
|