Recently, I implemented the Fish School Search II for a discipline on my master degree.
FSSII is an optimization algorithm proposed by Carmelo et all. Actually, it is a version improved of the Fish School Search. That version was proposed last year in the BRICS conference.

Paper: “An Enhanced Fish School Search Algorithm”,
Authors: C. J. A. Bastos-Filho, D. O. Nascimento.
Conference: BRICS 2013, Porto de Galinhas, Brazil. http://brics-cci.org/

I implemented to solve the Rastrigin’s and Sphere’ problem but is very simple to extend for other one. It is a Python code so it is very easy to understand it. I guess I have the code implemented in C++ but I need to find in my stuff.

https://dl.dropboxusercontent.com/u/5992545/Blog/FSS2.py