Particle swarm optimization: Difference between revisions

Content deleted Content added
Horndude77 (talk | contribs)
big clean up. Tried to make it clearer.
Changed the = for a <-- in the iterative formulas
Line 7:
* local bests are known in neighborhoods of particles
Updating the position and velocity is done through the following formulas at each iteration:
* <math> x =\leftarrow x + v </math>
* <math> v =\leftarrow wv + c_1 r_1 (\hat{x}-x) + c_2 r_2 (\hat{x}_g-x) </math>
** <math>w</math> is the inertial constant. Good values are usually slightly less than 1.
** <math>c_1</math> and <math>c_2</math> are constants that say how much the particle is directed towards good positions. Good values are usually right around 1.