Classical
1 2
() ( ) () ( ) (1)
(2)
id id id id d id
id id id
V w V c Rand p x c Rand g x
x x V
V
id
:
Velocity of each particle in each dimension
i: Particle
D: Dimension
W
: Inertia Weight
c
1
、 c
2
: Constants
Rand
()
: Random
P
id
: Best position of each particle
g
d
: Best position of swarm
x
id
: Current position of each particle in each dimension
- 1
- 2
前往页