先介绍了两个PSO经典的更新函数:


然后举了一个小example:
![]()

每一个iteration里面计算新的v , 已经 新的 的 x , 然后比较个人最优和全局最优,看看能不能进行更新,反复进行下去,得到最优位置Pbest,最优个人reward: fPbest。

然后介绍了参数:

![]()
Parameter:
(1)设置Vmax


(2)设置![]()

φ ≥ 4 and κ ∈ [0, 1]
![]()
![]()
(3) w的设置为线性递减
还要满足 : 

Variants:
提出了一堆的变体:binary particle swarm、fully informed particles、guided particle s optimization (GPSO)、self-regulating PSO (SRPSO) algorithm、homogeneous particle swarm optimizer (HPSO).、a modified variant of the PSO, namely PSO-E, that made use of the exponential probability distribution。