Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 375 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 375 Bytes

#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.