Algorithm 5: Stochastic Peer Interaction in ETLBOCBL-CNN’s Modified Teacher Phase |
Inputs: , , , , , , , , ,
|
01: |
Initialize clone population set as ; |
02: |
Construct by duplicating and sorting the offspring learners ascendingly by referring to their fitness values of for ; |
03: |
Construct and by extracting the top 20% and 50% of offspring learners stored in ; |
04: |
for to do
|
05: |
for to D do
|
06: |
Randomly generate from uniform distribution; |
07: |
if then
|
08: |
Randomly select and from , where ; |
09: |
Update using Equation (14); |
10: |
else if then
|
11: |
Randomly select from , where ; |
12: |
Update using Equation (15); |
13: |
else if then
|
14: |
Retain the original value of ; |
15: |
end if
|
16: |
if with then
|
17: |
; |
18: |
end if
|
19: |
end for
|
20: |
Perform fitness evaluation on the updated to obtain new using Algorithm 2; |
21: |
if then
|
22: |
, ; |
23: |
end if
|
24: |
end for |
Output: Updated and |