where, itermax is the time of maximum iteration, iter is the time of current iteration。
In the course of searching by using PSO, if a particle discovers a current optimal position (not global optimal point), all the other particles will move closer to it, then particles are in the dilemma of local optimal point. This is so called premature onvergence.