|
Algorithm 3 Mutation |
| Input |
Population, controller_set, Mutation parameter: F |
| Output |
New population |
| 1 |
Initial Psnull |
| 2 |
for i < np do
|
| 3 |
randomly generate the numbers of the three offspring vectors, |
| where
|
| 4 |
|
| 5 |
for j < cl do
|
| 6 |
for c < controller_set do
|
| 7 |
if chromosome don’t in controller_set then
|
| 8 |
randomly select a controller from controller_set as the newly |
|
owning control node |
| 9 |
end if |
| 10 |
end for |
| 11 |
end for |
| 12 |
end for |
| 13 |
return mutate population |