matrx.actions.move_actions.MoveSouth¶
-
class
MoveSouth
¶ Moves the agent South.
Inherits from
matrx.actions.move_actions.Move
and sets the delta-x and delta-y as follows:delta-x = 0
delta-y = 1
See also
Methods
is_possible
(self, grid_world, agent_id, …)Checks if the move is possible.
mutate
(self, grid_world, agent_id, …)Mutates an agent’s location
-
__init__
(self)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(self)Initialize self.
is_possible
(self, grid_world, agent_id, …)Checks if the move is possible.
mutate
(self, grid_world, agent_id, …)Mutates an agent’s location