GridWorld.actions#

property GridWorld.actions#

Action space of the gridworld environment.

Each action in the action space is represented with a tuple (dx, dy).

Returns:

actions – Action space of the gridworld environment.

Return type:

tuple

Examples

>>> W = GridWorld()
>>> W.actions
((0, 0), (1, 0), (-1, 0), (0, 1), (0, -1))