Introduced by Karaboga in 2005, the Artificial Bee Colony (ABC) algorithm is a swarm based meta-heuristic algorithm for optimizing numerical problems. It was inspired by the intelligent foraging behavior of honey bees.
To install, run the following:
$ composer update
To run the algorithm:
$ php ./ABCRunner.php config.ini E.g., $ php ./ABCRunner.php configSphere2D.ini
The example command will generate a log file in out folder.
Is the main runner class. Leverages the food source class
Base for all food sources. You should extend this one or the SphereFoodSource for simple numerical problems
Conrete implementation of AbstractFoodSource for Sphere food source.
Concrete implementation of AbstractFoodSource for Himmelblau function
Concrete implementation of CrossInTraySource for CrossInTray function
Solves the MatchPlay Puzzle.
Run
php ./NumericalSolnVisualizer.php configCrossInTray.ini gifsicle --loopcount=forever --delay=25 out/crossintray_* --colors 256 > final/crossintray-soln.gif "c:\Program Files\ImageMagick-7.0.11-Q16-HDRI\magick.exe" "convert" "-delay" 25 "-loop" 0 "out\sphere-2d_*.gif" "sphere-anim.gif"