Particle Swarm Optimization demo 1


Start the search
Start the search
Best so far

Delay between interations (in miliseconds)
Number of iterations
Population dimension
Acceleration
Social influence
Personal influence
Function to maximize

This is a Particle Swarm Optimization demo written in JavaScript. This method is used to minimize (or maximize in this case) functions (namely, find the global maxima/minima of a function). As there are no deterministic methods to achieve this without computing the functions' value in every point several methods like PSO have been developed. PSO was pioneered by Kennedy, Eberhart and Shi and they even wrote a book entitled Swarm Intelligence (the book does not only address computer scientists and engineers, it also discusses "Swarm intelligence" from a philosophical and social point of view).

I'll add more info about the topic, but in the meantime you can check Wikipedia to see what it's all about. UPDATE: Check out pso.js on github. It's... you guessed it, a library for PSO written in JS.

No comments:

Post a Comment