#Artificial Bee Colony
There is a ABC-algorithm implementation in C++.
For usage you should define fitness-function, like this:
double fitness(vector <double> cords)
{
double x = cords[0];
double y = cords[1];
return (x - 5) * (x - 5) + y * x + y * y;
}
For more see examples dir.