An implementation of Particle Swarm Optimization in C.