added doc details to recognize particle swarm optimization
This commit is contained in:
parent
967b6b7741
commit
3adf8a19f4
20 changed files with 25 additions and 20 deletions
|
|
@ -34,7 +34,7 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
/** Constricted velocity performer. Derivated from abstract eoVelocity,
|
||||
/** Constricted velocity performer for particle swarm optimization. Derivated from abstract eoVelocity,
|
||||
* At step t+1 : v(t+1)= C * [ v(t) + c1*r1 * (xbest(t)-x(t)) + c2*r2 * (gbest(t) - x(t)) ]
|
||||
* C is fixed for all the particles and all the generations.
|
||||
* Default C = 2 * k / abs(2 - P - sqrt (P*(P-4)))
|
||||
|
|
|
|||
Reference in a new issue