Skip to content

Commit

Permalink
output file correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Zachow Coelho committed Jun 26, 2018
1 parent 8db8e07 commit 1a35e95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/experiment/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def __print_step(self, step_number, stepSolution, avgTT=None, qlTT=None):
if self.useQL:
self.outputFile.write(str(step_number) + " " + str(avgTT) +" "+ str(qlTT))
else:
self.outputFile.write(str(step_number) + " " + str(avgTT))
self.outputFile.write(str(step_number) + " " + str(avgTT) + " ")
else:
self.outputFile.write(str(step_number) + " " + str(qlTT)+" ")

Expand Down Expand Up @@ -483,7 +483,7 @@ def createStringArguments(self, useQL, useInt):
+ str(self.group_size) + "\n#\tk=" + str(self.k) + "\t\tNumber of drivers=" \
+ str(nd(self.drivers, self.group_size))

headerstr_ext = "\n#Generations AVG_TT"
headerstr_ext = "\n#Generations AVG_TT "

if useQL: #Experiment type 3
fmt = "./results_gaql_grouped/net_%s/QLGA/pm%4.4f/crossover_%.2f/decay%4.3f/alpha%3.2f"
Expand Down

0 comments on commit 1a35e95

Please sign in to comment.