YMaze¶
Action Space |
|
Observation Space |
|
Creation |
|
Description¶
Two hallways connected in a Y-junction. the goal is to move the agent
towards a red box within as little steps as possible. In
MiniWorld-YMazeLeft-v0
, the red box is located on the left wing of
the Y-shaped junction. In MiniWorld-YMazeRight-v0
, the red box is
located on the right wing of the Y-shaped junction.
Action Space¶
Num |
Action |
---|---|
0 |
turn left |
1 |
turn right |
2 |
move forward |
Observation Space¶
The observation space is an ndarray
with shape (obs_height, obs_width, 3)
representing an RGB image of what the agents see.
Rewards¶
+(1 - 0.2 * (step_count / max_episode_steps)) when box reached
Arguments¶
env = gymnasium.make("MiniWorld-YMazeLeft-v0")
# or
env = gymnasium.make("MiniWorld-YMazeRight-v0")