1#ifndef Artificial_Bee_Colony_h
2#define Artificial_Bee_Colony_h
6#include "floatingpoint/FloatingPoint.h"
21 SelRandomOpP selRandomOp;
23 SelWorstOpP selWorstOp;
24 SelFitnessProportionalOpP selFitOp;
30 std::vector< double > probability_;
33 bool employedBeesPhase(StateP state, DemeP deme);
34 bool onlookerBeesPhase(StateP state, DemeP deme);
35 bool calculateProbabilities(StateP state, DemeP deme);
36 bool scoutBeesPhase(StateP state, DemeP deme);
37 bool createNewFoodSource(IndividualP food, StateP state, DemeP deme);
47typedef boost::shared_ptr<ArtificialBeeColony> ArtificialBeeColonyP;
Artificial Bee Colony algorithm (see e.g. http://www.scholarpedia.org/article/Artificial_bee_colony_a...
bool advanceGeneration(StateP state, DemeP deme)
Perform a single generation on a single deme.
bool initialize(StateP state)
Initialize the algorithm, read parameters from the system, do a sanity check.
void registerParameters(StateP state)
Register algorithm's parameters (if any).