예제 #1
0
 def reset(self):
     MazeTask.reset(self)
     goUp = choice([True, False])
     self.specialObs = goUp
     if goUp:
         self.env.goal = (3, self.length + 1)
     else:
         self.env.goal = (1, self.length + 1)
예제 #2
0
파일: tmaze.py 프로젝트: Boblogic07/pybrain
 def reset(self):
     MazeTask.reset(self)
     goUp = choice([True, False])
     self.specialObs = goUp
     if goUp:
         self.env.goal = (3, self.length + 1)
     else:
         self.env.goal = (1, self.length + 1)
예제 #3
0
 def reset(self):
     MazeTask.reset(self)
     self.env.perseusDir = 1
예제 #4
0
 def reset(self):
     MazeTask.reset(self)
     self.env.perseusDir = 1
예제 #5
0
 def reset(self):
     MazeTask.reset(self)
     self.bad = False
 def reset(self):
     MazeTask.reset(self)
     self.bad = False