Exact analysis of the sampling distribution for the canonical particle swarm optimiser and its convergence during stagnation