teeline · algorithms/aco
Ant Colony Optimization
A colony of ants independently constructs tours, each next city chosen probabilistically by a pheromone trail (reinforced on short edges and decaying over time) weighted by heuristic desirability(1/distance). Watch the pheromone edges strengthen on good edges and fade on bad ones as epochs advance.
best tour ant's last tour pheromone edge
Press Step or Run to watch the colony evolve
Cost history (best per epoch)
epoch
0
best cost
1394
ants / epoch
10
step
0
Scenarios