|
@@ -221,7 +221,7 @@ def beck_weathers(cities, opt):
|
|
|
|
|
|
|
|
|
|
|
|
-def solver(problem, algo, *x):
|
|
|
+def solver(problem, algo, x=None):
|
|
|
|
|
|
prob = problem
|
|
|
with open(prob) as file:
|
|
@@ -467,7 +467,7 @@ def tenzing_norgay_graph():
|
|
|
def reinhold_messner_graph():
|
|
|
plt.ioff()
|
|
|
plt.switch_backend('agg')
|
|
|
- solution_time = []
|
|
|
+ solution_times = []
|
|
|
solution_scores = []
|
|
|
|
|
|
|
|
@@ -495,7 +495,7 @@ def reinhold_messner_graph():
|
|
|
runtime = 0
|
|
|
qual = 0
|
|
|
|
|
|
- for j in range(0, 100):
|
|
|
+ for num in range(0, 100):
|
|
|
|
|
|
result = solver(filepath, 3, k)
|
|
|
runtime += result[2]
|