(self)
| 90 | return (self.i, self.j) not in self.actions |
| 91 | |
| 92 | def all_states(self): |
| 93 | # possibly buggy but simple way to get all states |
| 94 | # either a position that has possible next actions |
| 95 | # or a position that yields a reward |
| 96 | return set(self.actions.keys()) | set(self.rewards.keys()) |
| 97 | |
| 98 | |
| 99 | def standard_grid(): |
no outgoing calls
no test coverage detected