示例#1
0
 def __move__(self, s: State, a: Action) -> Tuple[int, int]:
     col, row = GridWorld.__move__(self, s, a)
     row = min(self.rows - 1, max(0, row - self.__wind__(col)))
     return col, row