Research Article
Self-Adaptive Artificial Bee Colony for Function Optimization
Algorithm 1
Pseudo-code of basic ABC algorithm.
() Initialize the parameters. | () Initialize N solutions to construct an initial population. | () Evaluate the fitness values of each solution. | () cycle = 1. | () Repeat | () Generate a offspring individual by Eq. (4) and evaluate its quality. | () Compare and select the better one. | () Calculate probabilities through Eq. (2). | () Produce randomly a number in 0, 1. | () Generate a offspring individual by Eq. (4) and evaluate its quality. | () Compare and select the better one. | () Memorize the best solution achieved so far. | () cycle = cycle + 1. | () Until cycle=Maximum cycle number |
|