Return the value associated with key
(self, key)
| 51 | self._model[(s, a)][(r, s_)] = value |
| 52 | |
| 53 | def __getitem__(self, key): |
| 54 | """Return the value associated with key""" |
| 55 | s, a, r, s_ = key |
| 56 | return self._model[(s, a)][(r, s_)] |
| 57 | |
| 58 | def __contains__(self, key): |
| 59 | """True if EnvModel contains `key`, else False""" |
nothing calls this directly
no outgoing calls
no test coverage detected