Commit e99b25ca authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Sort all frontier places when dump them to outputfile...

parent 73952d0f
......@@ -381,15 +381,11 @@ class FrontierSolution(object):
"""
Save a symbolic solution in a file
The format is readable by the simulator
@param outfile: writable file
@param outfile: writable file
"""
outfile.write(self.activated_frontier[0])
for frp in self.activated_frontier[1:]:
outfile.write(" "+frp)
for seq in self.ic_sequence:
outfile.write("\n"+seq)
outfile.write("\n")
outfile.write(' '.join(sorted(self.activated_frontier)) + '\n')
outfile.write('\n'.join(self.ic_sequence) + '\n')
outfile.flush()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment