There was an error while loading. Please reload this page.
1 parent 1c243fc commit 3ca9a00Copy full SHA for 3ca9a00
1 file changed
graphs/travelling_salesman_problem.py
@@ -82,7 +82,7 @@ def travelling_salesman_brute_force(
82
83
>>> graph = {"A": [10, 20], "B": [30, 21], "C": [15, 35]}
84
>>> travelling_salesman_brute_force(graph)
85
- (['A', 'C', 'B', 'A'], 56.35465722402587)
+ (['A', 'B', 'C', 'A'], 56.35465722402588)
86
"""
87
validate_graph(graph_points)
88
0 commit comments