Parcourir la source

Saved of best solution line updates

Jérôme BUISINE il y a 3 ans
Parent
commit
9385d2cb87
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      find_best_attributes_surrogate.py

+ 1 - 1
find_best_attributes_surrogate.py

@@ -259,7 +259,7 @@ def main():
                 filters_counter += 1
 
 
-    line_info = p_data_file + ';' + str(p_ils_iteration) + ';' + str(p_ls_iteration) + ';' + str(bestSol.data) + ';' + str(list(bestSol.data).count(1)) + ';' + str(filters_counter) + ';' + str(bestSol.fitness)
+    line_info = p_output + ';' + p_data_file + ';' + str(bestSol.data) + ';' + str(list(bestSol.data).count(1)) + ';' + str(filters_counter) + ';' + str(bestSol.fitness)
     with open(filename_path, 'a') as f:
         f.write(line_info + '\n')