(self, arr, start, end)
| 95 | return (state, reward[-2], action[-2], isOver[-2]) |
| 96 | |
| 97 | def _slice(self, arr, start, end): |
| 98 | s1 = arr[start:] |
| 99 | s2 = arr[:end] |
| 100 | return np.concatenate((s1, s2), axis=0) |
| 101 | |
| 102 | def __len__(self): |
| 103 | return self._curr_size |