Read More
Date: 24-11-2021
1521
Date: 24-11-2021
1459
Date: 16-12-2021
1533
|
The ant colony algorithm is an algorithm for finding optimal paths that is based on the behavior of ants searching for food.
At first, the ants wander randomly. When an ant finds a source of food, it walks back to the colony leaving "markers" (pheromones) that show the path has food. When other ants come across the markers, they are likely to follow the path with a certain probability. If they do, they then populate the path with their own markers as they bring the food back. As more ants find the path, it gets stronger until there are a couple streams of ants traveling to various food sources near the colony.
Because the ants drop pheromones every time they bring food, shorter paths are more likely to be stronger, hence optimizing the "solution." In the meantime, some ants are still randomly scouting for closer food sources. A similar approach can be used find near-optimal solution to the traveling salesman problem.
Once the food source is depleted, the route is no longer populated with pheromones and slowly decays.
Because the ant-colony works on a very dynamic system, the ant colony algorithm works very well in graphs with changing topologies. Examples of such systems include computer networks, and artificial intelligence simulations of workers.
|
|
كل ما تود معرفته عن أهم فيتامين لسلامة الدماغ والأعصاب
|
|
|
|
|
ماذا سيحصل للأرض إذا تغير شكل نواتها؟
|
|
|
|
|
جامعة الكفيل تناقش تحضيراتها لإطلاق مؤتمرها العلمي الدولي السادس
|
|
|