Algorithm 1. The pseudo code of ABC |
1. Intialization stage: Initialize the population Repeat 2. Employed bee stage: Each employed bee to search new food sources in neighborhood. 3. Onlooker bee stage: Each onlooker bee to search new food sources by the probability . 4. Scout bee stage: Each scout bee to search new food sources randomly. 5. Record the best solution: Record the best solution found by all current bees. |
Until (stop conditions are met) |