(self, rewards, actions, probs)
| 152 | self.j = start[1] |
| 153 | |
| 154 | def set(self, rewards, actions, probs): |
| 155 | # rewards should be a dict of: (i, j): r (row, col): reward |
| 156 | # actions should be a dict of: (i, j): A (row, col): list of possible actions |
| 157 | self.rewards = rewards |
| 158 | self.actions = actions |
| 159 | self.probs = probs |
| 160 | |
| 161 | def set_state(self, s): |
| 162 | self.i = s[0] |
no outgoing calls
no test coverage detected