|
Algorithm 2 calculated by particle swarm optimization algorithm. |
-
1:
Important Condition:
-
2:
Particle position:
-
3:
End condition: &
-
4:
Fitness:
-
5:
Beginning:
-
6:
initial starting parameters
-
7:
calculate the fitness
-
8:
find out the optimization
-
9:
update position and velocity of particle
-
10:
if not meet the end condition then
-
11:
go to step 7
-
12:
else
-
13:
save
-
14:
end if
-
14:
return
|