MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / is_terminal

Method is_terminal

rl/grid_world.py:34–35  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

32 return (self.i, self.j)
33
34 def is_terminal(self, s):
35 return s not in self.actions
36
37 def reset(self):
38 # put agent back in start position

Calls

no outgoing calls

Tested by

no test coverage detected