Set self[key] to value
(self, key, value)
| 46 | self._model = defaultdict(lambda: defaultdict(lambda: 0)) |
| 47 | |
| 48 | def __setitem__(self, key, value): |
| 49 | """Set self[key] to value""" |
| 50 | s, a, r, s_ = key |
| 51 | self._model[(s, a)][(r, s_)] = value |
| 52 | |
| 53 | def __getitem__(self, key): |
| 54 | """Return the value associated with key""" |
nothing calls this directly
no outgoing calls
no test coverage detected