matrx.actions.move_actions.MoveWest

class MoveWest

Moves the agent West.

Inherits from matrx.actions.move_actions.Move and sets the delta-x and delta-y as follows:

  • delta-x = -1

  • delta-y = 0

See also

Move

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