Algorithm simulator
Run the 25 best-known nature-inspired algorithms on five standard test functions, and watch the population's movement and the convergence, diversity and time curves, then repeat the run or compare the algorithms you choose to get the mean and standard deviation.
PSO — Particle Swarm Optimization
Algorithm cardf(x)=\sum_{i=1}^{d} x_i^2,\quad x\in[-5.12,5.12]^df(x)=10d+\sum_{i=1}^{d}\left[x_i^2-10\cos(2\pi x_i)\right],\quad x\in[-5.12,5.12]^df(x)=\sum_{i=1}^{d-1}\left[100(x_{i+1}-x_i^2)^2+(1-x_i)^2\right],\quad x\in[-5,10]^df(x)=-20e^{-0.2\sqrt{\frac1d\sum x_i^2}}-e^{\frac1d\sum\cos 2\pi x_i}+20+e,\quad x\in[-32.768,32.768]^df(x)=1+\frac{1}{4000}\sum x_i^2-\prod\cos\frac{x_i}{\sqrt i},\quad x\in[-600,600]^dFunction surface and population movement (first two dimensions)
Convergence curve (best value, logarithmic scale)
Mean population fitness
Population diversity (mean distance from the centre)
ms
Statistics of multiple runs
| Algorithm | Runs | Mean | Standard deviation | Best | Worst | Evaluations | ms | Seeds |
|---|
Box plot
These are results on standard test functions with your settings and budget; they do not mean an algorithm is superior in general (No Free Lunch). For a fair comparison, fix the number of function evaluations and use at least 30 runs and a statistical test such as Wilcoxon.
