**Algorithm**

In the ABC model, the colony consists of three groups of bees: employed bees, onlookers and scouts. While this may be a correct math model, it neglects the male drone population. It is assumed that there is only one artificial employed bee for each food source. In other words, the number of employed bees in the colony is equal to the number of food sources around the hive. Employed bees go to their food source and come back to hive and dance on this area. The employed bee whose food source has been abandoned becomes a scout and starts to search for finding a new food source. Onlookers watch the dances of employed bees and choose food sources depending on dances. The main steps of the algorithm are given below:

- Initial food sources are produced for all employed bees
- REPEAT
- Each employed bee goes to a food source in her memory and determines a neighbour source, then evaluates its nectar amount and dances in the hive
- Each onlooker watches the dance of employed bees and chooses one of their sources depending on the dances, and then goes to that source. After choosing a neighbour around that, she evaluates its nectar amount.
- Abandoned food sources are determined and are replaced with the new food sources discovered by scouts.
- The best food source found so far is registered.

- UNTIL (requirements are met)

In ABC, a population based algorithm, the position of a food source represents a possible solution to the optimization problem and the nectar amount of a food source corresponds to the quality (fitness) of the associated solution. The number of the employed bees is equal to the number of solutions in the population. At the first step, a randomly distributed initial population (food source positions) is generated. After initialization, the population is subjected to repeat the cycles of the search processes of the employed, onlooker, and scout bees, respectively. An employed bee produces a modification on the source position in her memory and discovers a new food source position. Provided that the nectar amount of the new one is higher than that of the previous source, the bee memorizes the new source position and forgets the old one. Otherwise she keeps the position of the one in her memory. After all employed bees complete the search process, they share the position information of the sources with the onlookers on the dance area. Each onlooker evaluates the nectar information taken from all employed bees and then chooses a food source depending on the nectar amounts of sources. As in the case of the employed bee, she produces a modification on the source position in her memory and checks its nectar amount. Providing that its nectar is higher than that of the previous one, the bee memorizes the new position and forgets the old one. The sources abandoned are determined and new sources are randomly produced to be replaced with the abandoned ones by artificial scouts.

Read more about this topic: Artificial Bee Colony Algorithm

### Other articles related to "algorithm":

**Algorithm**s - 1960s

... Hoare 1962 - Ford–Fulkerson

**algorithm**developed by L ... Fulkerson 1962 - Bresenham's line

**algorithm**developed by Jack E ... Fedorenko 1965 - Cooley–Tukey

**algorithm**rediscovered by James Cooley and John Tukey 1965 - Levenshtein distance developed by Vladimir Levenshtein 1965 - Cocke–Younger–Kasami (CYK)

**algorithm**...

**Algorithm**s For Barcode Decoding - Symbology Decoding

**Algorithm**

... The Symbology Decoding

**Algorithm**for barcode scanners is the first symbology-based

**algorithm**for decoding ... in the signal, whereas the traditional

**algorithm**relies on the maxima and minima ... The Symbology Decoding

**Algorithm**for Bar Code Scanners exhibited high resilience to blur and noise when tested on 1D Universal Product Codes ...

**Algorithm**s

... Here are some random walk MCMC methods Metropolis–Hastings

**algorithm**Generates a random walk using a proposal density and a method for rejecting proposed moves ... variation of the Metropolis–Hastings

**algorithm**that allows multiple trials at each point ... This allows the

**algorithm**to generally take larger steps at each iteration, which helps combat problems intrinsic to large dimensional problems ...

**Algorithm**

... The Tomasulo

**algorithm**is a hardware

**algorithm**developed in 1967 by Robert Tomasulo from IBM ... This

**algorithm**differs from scoreboarding in that it utilizes register renaming ... The Tomasulo

**algorithm**also uses a common data bus (CDB) on which computed values are broadcast to all the reservation stations that may need it ...

**Algorithm**- History: Development of The Notion of "

**algorithm**" - History After 1950

... toward further refinement of the definition of "

**algorithm**", and activity is on-going because of issues surrounding, in particular, foundations of mathematics (espe ... For more, see

**Algorithm**characterizations ...