feat(ant-colony): add ant colony optimization demo for tsp

Ant System on the travelling salesman problem, run on the CPU.
Click the canvas to add cities while the colony runs.
Show the nearest-neighbor tour as a baseline. Tick ROADMAP.
This commit is contained in:
lobo committed 2026-10-23 10:20:06 +02:00
1 parent 26601bef46
commit 4432e38cd2
14 files changed
+995 -2

No files matched your search

+5
View File
@@ -70,6 +70,11 @@
LINK: '/algorithms/gray-scott',
};
static readonly ANT_COLONY = {
PATH: 'algorithms/ant-colony',
LINK: '/algorithms/ant-colony',
};
static readonly FOUR_COLOR = {
PATH: 'algorithms/four_color',
LINK: '/algorithms/four_color',