This is a simulation of ACO algorithm. The visualization is intented to demonstrate how ACO works and how to solve a particuler problem, Travelling salesman problem in this case.
Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city?
It is a well known problem taking part in NP-hard category in combinatorial optimization, important in theoretical computer science and operations research.
This is my way of implementing ACO algorithm and drawing its steps on a HTML canvas using JAVASCRIPT.
- Compute the number of distinct paths found yet to calculate the exploration of the algorithm of the search space.
- Plot more diversed graphs for a thorough analysis of the simulation.
- Make use of parallel programming for a faster runtime.