diff --git a/Config.py b/Config.py index 52c8d23c1e768844b0ed07fc11110a34899b0444..880c39a18dd8146b635ee1381645afad44378e24 100644 --- a/Config.py +++ b/Config.py @@ -90,8 +90,8 @@ class Config : right = 5 print("state :", self.state, file=output) print("stack :",[self.getAsFeature(ind, "ID") for ind in self.stack], file=output) - print("history :",[str(trans) for trans in self.history[-10:]], file=output) - print("historyPop :",[(str(c[0]),"dat:"+str(c[1]),"mvt:"+str(c[2]),"reward:"+str(c[3]),"state:"+str(c[4])) for c in self.historyPop[-10:]], file=output) + print("history :",[str(trans) for trans in self.history], file=output) + print("historyPop :",[(str(c[0]),"dat:"+str(c[1]),"mvt:"+str(c[2]),"reward:"+str(c[3]),"state:"+str(c[4])) for c in self.historyPop], file=output) toPrint = [] for lineIndex in range(self.wordIndex-left, self.wordIndex+right) : if lineIndex not in range(len(self.lines)) :