Particle swarm optimization: Difference between revisions

Content deleted Content added
revert
Line 24:
*** Calculate fitness for new position.
*** If it is better than the fitness of <math>\hat{x}</math>, replace <math>\hat{x}</math>.
*** ItIf it is better than the fitness of <math>\hat{x}_g</math>, replace <math>\hat{x}_g</math>.
*** Update <math>v</math> according to the above equation.