Research Article
A Clustering Approach Using Cooperative Artificial Bee Colony Algorithm
Algorithm 1
Pseudocode for ABC algorithm.
Main steps of the ABC algorithm. | (2.1) cycle=1 | (2.2) Initialize the food source positions , | (2.3) Evaluate the nectar amount (fitness function ) of food sources | (4) repeat | (5) Employed Bees’ Phase | For each employed bee | Produce new food source positions | Calculate the value | Apply greedy selection mechanism | EndFor. | (6) Calulate the probability values for the solution. | (7) Onlooker Bees’ Phase | For each onlooker bee | Chooses a food source depending on | Produce new food source positions | Calculate the value | Apply greedy selection mechanism | EndFor | (8) Scout Bee Phase | If there is an employed bee becomes scout | Then replace it with a new random source positions | (9) Memorize the best solution achieved so far | (10) cyclecycle1. | (11) until cycle=Maximum Cycle Number |
|