ArticleslgStudy

computer science

Artificial bee colony algorithm

Artificial bee colony algorithm is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Artificial bee colony algorithm rather than just read about it. In short: In computer science and operations research, the artificial bee colony algorithm (ABC) is an optimization algorithm based on the intelligent foraging behaviour of honey bee swarm, proposed by Derviş Karaboğa (Erciyes University) in 2005. Algorithm In the ABC algorithm, a food source represents a candidate solution to an optimization problem.

Key takeaways

  • Artificial bee colony algorithm belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Artificial bee colony algorithm to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Artificial bee colony algorithm from memory before moving on to harder problems.

Reference excerpt

In computer science and operations research, the artificial bee colony algorithm (ABC) is an optimization algorithm based on the intelligent foraging behaviour of honey bee swarm, proposed by Derviş Karaboğa (Erciyes University) in 2005.

Algorithm In the ABC algorithm, a food source represents a candidate solution to an optimization problem. The amount of nectar associated with the food source represents the quality, or fitness, of that solution. The colony consists of three groups of bees: employed bees, onlookers and scouts. 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 visit their food sources and return to the hive, where they communicate information about them through dances. When a food source is abandoned, its employed bee becomes a scout and searches for a new food source. The main steps of the ABC algorithm are as follows:

Initial food sources are produced for all employed bees REPEAT Each employed bee goes to a food source in her memory and determines a closest 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) 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 algorithm repeatedly performs the search proceses associated with employed, onlooker, and scout bees. 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. If its nectar is higher than that of the previous one, the bee memorizes the new position and forgets the old one. Abandoned food sources are identified and replaced with new sources generated randomly by artificial scout bees.

Artificial bee colony algorithm Artificial bee colony (ABC) algorithm is an optimization technique that simulates the foraging behavior of honey bees, and has been successfully applied to various practical problems. ABC belongs to the group of swarm intelligence algorithms and was proposed by Karaboga in 2005. A set of honey bees, called swarm, can successfully accomplish tasks through social cooperation. In the ABC algorithm, there are three types of bees: employed bees, onlooker bees, and scout bees. The employed bees search food around the food source in their memory; meanwhile they share the information of these food sources to the onlooker bees. The onlooker bees tend to select good food sources from those found by the employed bees. The food source that has higher quality (fitness) will have a large chance to be selected by the onlooker bees than the one of lower quality. The scout bees are translated from a few employed bees, which abandon their food sources and search new ones. In the ABC algorithm, the first half of the swarm consists of employed bees, and the second half constitutes the onlooker bees. The ABC generates a randomly distributed initial population of SN solutions (food sources), where SN denotes the swarm size. Let Xi={xi,1,xi,2,…,xi,n} represent the ith solution in the swarm, where n is the dimension size. Each employed bee Xi generates a new candidate solution Vi in the neighborhood of its present position as equation below:

where Xj is a randomly selected candidate solution (i≠j), k is a random dimension index selected from the set {1,2,…,n}, and Φi,k is a random number within [−1,1]. Once the new candidate solution Vi is generated, a greedy selection is used. If the fitness value of Vi is better than that of its parent Xi, then update Xi with Vi; otherwise keep Xi unchanged. After all employed bees complete the search process; they share the information of their food sources with the onlooker bees through waggle dances. An onlooker bee evaluates the nectar information taken from all employed bees and chooses a food source with a probability related to its nectar amount. This probabilistic selection is really a roulette wheel selection mechanism which is described as equation below:

where fiti is the fitness value of the ith solution in the swarm. As seen, the better the solution i, the higher the probability of the ith food source selected. If a position cannot be improved over a predefined number (called limit) of cycles, then the food source is abandoned. Assume that the abandoned source is Xi, and then the scout bee discovers a new food source to be replaced with ith as equation below:

where Φi,k=rand(0,1) is a random number within[0,1] based on a normal distribution, and lbk,ubk are lower and upper boundaries of the kth dimension, respectively.

See also Evolutionary computation Evolutionary multi-modal optimization Particle swarm optimization Swarm intelligence Bees algorithm Fish School Search List of metaphor-based metaheuristics

References

External links Artificial Bee Colony (ABC) Algorithm Homepage, Turkey: Intelligent Systems Research Group, Department of Computer Engineering, Erciyes University

Worked examples

Example 1 — a first encounter with Artificial bee colony algorithm

Start with the simplest possible case. Write down what Artificial bee colony algorithm claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Artificial bee colony algorithm before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Artificial bee colony algorithm ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Artificial bee colony algorithm

In research
Artificial bee colony algorithm appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Artificial bee colony algorithm in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Artificial bee colony algorithm is common in secondary-school and first-year university syllabi. It links to neighbouring topics Nature-inspired metaheuristics, so understanding it makes those chapters shorter.
In everyday life
Look for Artificial bee colony algorithm outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Artificial bee colony algorithm” →

How to study Artificial bee colony algorithm in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Artificial bee colony algorithm means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Artificial bee colony algorithm out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Artificial bee colony algorithm in simple terms?

In computer science and operations research, the artificial bee colony algorithm (ABC) is an optimization algorithm based on the intelligent foraging behaviour of honey bee swarm, proposed by Derviş Karaboğa (Erciyes University) in 2005. Algorithm In the ABC algorithm, a food source represents a ca…

Why does Artificial bee colony algorithm matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Artificial bee colony algorithm?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Artificial bee colony algorithm.

Tags

  • Nature-inspired metaheuristics

Keep exploring