feat(pathfinding): add A* vs Dijkstra compare mode

Show A* and Dijkstra side by side on the same grid with visited count and path length. Also clamp typed grid sizes above the max instead of crashing.
This commit is contained in:
lobo committed 2026-10-14 15:40:20 +02:00
1 parent ce7db0f376
commit 718bc28bd0
8 files changed
+383 -27

No files matched your search

+2
View File
@@ -430,6 +430,8 @@
"CLEAR_BOARD": "Empty Board",
"VISITED": "Visited",
"PATH": "Path",
"COMPARE": "Compare (A* vs Dijkstra)",
"VISITED_NODES": "Visited nodes",
"PATH_LENGTH": "Path length",
"EXECUTION_TIME": "Execution Time",
"EXPLANATION": {