Artificial Bee Colony algorithm (see e.g. http://www.scholarpedia.org/article/Artificial_bee_colony_algorithm)ABC algorithm accepts only a single FloatingPoint genotype (vector of real values). Additionally, it adds the following genotype for algorithm implementation:
#include <AlgArtificialBeeColony.h>
Public Member Functions | |
| void | registerParameters (StateP state) |
| Register algorithm's parameters (if any). | |
| bool | initialize (StateP state) |
| Initialize the algorithm, read parameters from the system, do a sanity check. | |
| bool | advanceGeneration (StateP state, DemeP deme) |
| Perform a single generation on a single deme. | |
Protected Member Functions | |
| bool | employedBeesPhase (StateP state, DemeP deme) |
| bool | onlookerBeesPhase (StateP state, DemeP deme) |
| bool | calculateProbabilities (StateP state, DemeP deme) |
| bool | scoutBeesPhase (StateP state, DemeP deme) |
| bool | createNewFoodSource (IndividualP food, StateP state, DemeP deme) |
Protected Attributes | |
| SelRandomOpP | selRandomOp |
| SelBestOpP | selBestOp |
| SelWorstOpP | selWorstOp |
| SelFitnessProportionalOpP | selFitOp |
| uint | limit_ |
| bool | elitism_ |
| double | ubound_ |
| double | lbound_ |
| std::vector< double > | probability_ |
| bool | isTrialAdded_ |
Artificial Bee Colony algorithm (see e.g. http://www.scholarpedia.org/article/Artificial_bee_colony_algorithm)
ABC algorithm accepts only a single FloatingPoint genotype (vector of real values). Additionally, it adds the following genotype for algorithm implementation:
Definition at line 17 of file AlgArtificialBeeColony.h.
| bool ArtificialBeeColony::advanceGeneration | ( | StateP | , | |
| DemeP | ||||
| ) | [virtual] |
Perform a single generation on a single deme.
Must be implemented by a specific algorithm class
Implements Algorithm.
Definition at line 97 of file AlgArtificialBeeColony.cpp.
| bool ArtificialBeeColony::initialize | ( | StateP | ) | [virtual] |
Initialize the algorithm, read parameters from the system, do a sanity check.
Called by the system before the algorithm starts (Algorithm::advanceGeneration)
Reimplemented from Algorithm.
Definition at line 36 of file AlgArtificialBeeColony.cpp.
| void ArtificialBeeColony::registerParameters | ( | StateP | ) | [virtual] |
Register algorithm's parameters (if any).
Called by the system before algorithm initialization (Algorithm::initialize)
Reimplemented from Algorithm.
Definition at line 25 of file AlgArtificialBeeColony.cpp.
1.7.1