Ant simulation in Matlab

Pink ring - hive, blue ring - food, * - ants, pink circles - trails of pheromone. Ants start moving arbitrarily - searching for food. When an ant finds food, it starts to leave a trail of pheromone while going back to the hive. The ants that step on the trail are more likely to take the route that this particular part of the trail suggests, thus turning them in the direction of the source of the food. The more pheromone - the higher the probability of turning. The pheromone evaporates with each secon
Back to Top