I am working on a project that implements PSO to solve a nonlinear optimization equation (minimization problem). I want to ensure that PSO is not falling for premature convergence (i.e choosing a solution too early and claiming it to be the best solution).