T
TSP Visualizer
Animation & scaling for 5 classical / neural TSP solvers
n = 7
×0.5(1 step / 2 frames)
Đề bài
7 thành phố · depot = 0 (đỏ) · ma trận đối xứng (Euclidean)
input
0.180.530.170.470.730.380.440.220.290.770.200.370.350.500.490.420.570.400.820.190.910123456
·0123456
00.180.530.170.470.730.38
10.180.440.220.290.770.20
20.530.440.370.350.500.49
30.170.220.370.420.570.40
40.470.290.350.420.820.19
50.730.770.500.570.820.91
60.380.200.490.400.190.91
Brute Force
idle
0123456
cost
steps0
algo time
anim time
Dynamic Programming (Held–Karp)
idle
0123456
cost
steps0
algo time
anim time
Branch & Bound
idle
0123456
cost
steps0
algo time
anim time
Greedy (Nearest Neighbor)
idle
0123456
cost
steps0
algo time
anim time
Hopfield Neural Net
idle
0123456
cost
steps0
algo time
anim time