From 1e1ae238cb9c636e7cc63535145fbe613a37af98 Mon Sep 17 00:00:00 2001 From: Jupy Date: Thu, 28 Sep 2023 13:27:27 +0100 Subject: [PATCH] fixing link in doc comments (#403) --- minigrid/envs/babyai/goto.py | 22 +++++++++++----------- minigrid/envs/babyai/open.py | 10 +++++----- minigrid/envs/babyai/other.py | 10 +++++----- minigrid/envs/babyai/pickup.py | 10 +++++----- minigrid/envs/babyai/putnext.py | 4 ++-- minigrid/envs/babyai/synth.py | 12 ++++++------ minigrid/envs/babyai/unlock.py | 12 ++++++------ minigrid/envs/blockedunlockpickup.py | 2 +- minigrid/envs/crossing.py | 2 +- minigrid/envs/distshift.py | 2 +- minigrid/envs/doorkey.py | 2 +- minigrid/envs/dynamicobstacles.py | 2 +- minigrid/envs/empty.py | 2 +- minigrid/envs/fetch.py | 2 +- minigrid/envs/fourrooms.py | 2 +- minigrid/envs/gotodoor.py | 2 +- minigrid/envs/gotoobject.py | 2 +- minigrid/envs/keycorridor.py | 2 +- minigrid/envs/lavagap.py | 2 +- minigrid/envs/lockedroom.py | 2 +- minigrid/envs/memory.py | 2 +- minigrid/envs/multiroom.py | 2 +- minigrid/envs/obstructedmaze.py | 2 +- minigrid/envs/putnear.py | 2 +- minigrid/envs/redbluedoors.py | 2 +- minigrid/envs/unlock.py | 2 +- minigrid/envs/unlockpickup.py | 2 +- 27 files changed, 60 insertions(+), 60 deletions(-) diff --git a/minigrid/envs/babyai/goto.py b/minigrid/envs/babyai/goto.py index f8575cc5e..4f5435a2e 100644 --- a/minigrid/envs/babyai/goto.py +++ b/minigrid/envs/babyai/goto.py @@ -39,7 +39,7 @@ class GoToRedBallGrey(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -105,7 +105,7 @@ class GoToRedBall(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -168,7 +168,7 @@ class GoToRedBallNoDists(GoToRedBall): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -225,7 +225,7 @@ class GoToObj(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -294,7 +294,7 @@ class GoToLocal(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -370,7 +370,7 @@ class GoTo(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -460,7 +460,7 @@ class GoToImpUnlock(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -565,7 +565,7 @@ class GoToSeq(LevelGen): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -633,7 +633,7 @@ class GoToRedBlueBall(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -709,7 +709,7 @@ class GoToDoor(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -777,7 +777,7 @@ class GoToObjDoor(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/babyai/open.py b/minigrid/envs/babyai/open.py index 0e27fd294..443295598 100644 --- a/minigrid/envs/babyai/open.py +++ b/minigrid/envs/babyai/open.py @@ -46,7 +46,7 @@ class Open(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -116,7 +116,7 @@ class OpenRedDoor(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -178,7 +178,7 @@ class OpenDoor(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -262,7 +262,7 @@ class OpenTwoDoors(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -362,7 +362,7 @@ class OpenDoorsOrder(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/babyai/other.py b/minigrid/envs/babyai/other.py index 0e29315b3..de994abc7 100644 --- a/minigrid/envs/babyai/other.py +++ b/minigrid/envs/babyai/other.py @@ -59,7 +59,7 @@ class ActionObjDoor(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -137,7 +137,7 @@ class FindObjS5(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -206,7 +206,7 @@ class KeyCorridor(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -300,7 +300,7 @@ class OneRoomS8(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -367,7 +367,7 @@ class MoveTwoAcross(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/babyai/pickup.py b/minigrid/envs/babyai/pickup.py index 81ca88d86..7a7c83935 100644 --- a/minigrid/envs/babyai/pickup.py +++ b/minigrid/envs/babyai/pickup.py @@ -42,7 +42,7 @@ class Pickup(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -105,7 +105,7 @@ class UnblockPickup(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -175,7 +175,7 @@ class PickupLoc(LevelGen): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -247,7 +247,7 @@ class PickupDist(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -323,7 +323,7 @@ class PickupAbove(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/babyai/putnext.py b/minigrid/envs/babyai/putnext.py index 83fec39ca..081d02f76 100644 --- a/minigrid/envs/babyai/putnext.py +++ b/minigrid/envs/babyai/putnext.py @@ -42,7 +42,7 @@ class PutNextLocal(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -114,7 +114,7 @@ class PutNext(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/babyai/synth.py b/minigrid/envs/babyai/synth.py index 7f60c0300..5338c6c3d 100644 --- a/minigrid/envs/babyai/synth.py +++ b/minigrid/envs/babyai/synth.py @@ -59,7 +59,7 @@ class Synth(LevelGen): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -147,7 +147,7 @@ class SynthLoc(LevelGen): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -252,7 +252,7 @@ class SynthSeq(LevelGen): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -354,7 +354,7 @@ class MiniBossLevel(LevelGen): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -457,7 +457,7 @@ class BossLevel(LevelGen): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -553,7 +553,7 @@ class BossLevelNoUnlock(LevelGen): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/babyai/unlock.py b/minigrid/envs/babyai/unlock.py index d744eb368..a2510f006 100644 --- a/minigrid/envs/babyai/unlock.py +++ b/minigrid/envs/babyai/unlock.py @@ -43,7 +43,7 @@ class Unlock(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -139,7 +139,7 @@ class UnlockLocal(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -202,7 +202,7 @@ class KeyInBox(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -272,7 +272,7 @@ class UnlockPickup(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -347,7 +347,7 @@ class BlockedUnlockPickup(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards @@ -420,7 +420,7 @@ class UnlockToUnlock(RoomGridLevel): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/blockedunlockpickup.py b/minigrid/envs/blockedunlockpickup.py index 30490d14a..eb401ac16 100644 --- a/minigrid/envs/blockedunlockpickup.py +++ b/minigrid/envs/blockedunlockpickup.py @@ -44,7 +44,7 @@ class BlockedUnlockPickupEnv(RoomGrid): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/crossing.py b/minigrid/envs/crossing.py index 45314031b..eeec21a1f 100644 --- a/minigrid/envs/crossing.py +++ b/minigrid/envs/crossing.py @@ -49,7 +49,7 @@ class CrossingEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/distshift.py b/minigrid/envs/distshift.py index cc9289ed4..f4269b54e 100644 --- a/minigrid/envs/distshift.py +++ b/minigrid/envs/distshift.py @@ -40,7 +40,7 @@ class DistShiftEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/doorkey.py b/minigrid/envs/doorkey.py index 0f83fe848..d26af623e 100644 --- a/minigrid/envs/doorkey.py +++ b/minigrid/envs/doorkey.py @@ -37,7 +37,7 @@ class DoorKeyEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/dynamicobstacles.py b/minigrid/envs/dynamicobstacles.py index 900005978..68436cecc 100644 --- a/minigrid/envs/dynamicobstacles.py +++ b/minigrid/envs/dynamicobstacles.py @@ -42,7 +42,7 @@ class DynamicObstaclesEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/empty.py b/minigrid/envs/empty.py index f4cb7c8b0..8810bb0fa 100644 --- a/minigrid/envs/empty.py +++ b/minigrid/envs/empty.py @@ -40,7 +40,7 @@ class EmptyEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/fetch.py b/minigrid/envs/fetch.py index 887562f19..6d2a3635e 100644 --- a/minigrid/envs/fetch.py +++ b/minigrid/envs/fetch.py @@ -46,7 +46,7 @@ class FetchEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/fourrooms.py b/minigrid/envs/fourrooms.py index 046dc271a..3b83214b9 100644 --- a/minigrid/envs/fourrooms.py +++ b/minigrid/envs/fourrooms.py @@ -37,7 +37,7 @@ class FourRoomsEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/gotodoor.py b/minigrid/envs/gotodoor.py index 5018d3afb..4196f85ea 100644 --- a/minigrid/envs/gotodoor.py +++ b/minigrid/envs/gotodoor.py @@ -41,7 +41,7 @@ class GoToDoorEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/gotoobject.py b/minigrid/envs/gotoobject.py index a9a844567..db8fa5ecb 100644 --- a/minigrid/envs/gotoobject.py +++ b/minigrid/envs/gotoobject.py @@ -42,7 +42,7 @@ class GoToObjectEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/keycorridor.py b/minigrid/envs/keycorridor.py index 69a1b2fff..fdb84367d 100644 --- a/minigrid/envs/keycorridor.py +++ b/minigrid/envs/keycorridor.py @@ -44,7 +44,7 @@ class KeyCorridorEnv(RoomGrid): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/lavagap.py b/minigrid/envs/lavagap.py index 76b280d27..dd6cc72f7 100644 --- a/minigrid/envs/lavagap.py +++ b/minigrid/envs/lavagap.py @@ -41,7 +41,7 @@ class LavaGapEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/lockedroom.py b/minigrid/envs/lockedroom.py index d604a1a4e..a4c670f0d 100644 --- a/minigrid/envs/lockedroom.py +++ b/minigrid/envs/lockedroom.py @@ -56,7 +56,7 @@ class LockedRoomEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/memory.py b/minigrid/envs/memory.py index 2d48f8034..8fd24b3c1 100644 --- a/minigrid/envs/memory.py +++ b/minigrid/envs/memory.py @@ -41,7 +41,7 @@ class MemoryEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/multiroom.py b/minigrid/envs/multiroom.py index 82ceff4f2..47802a77d 100644 --- a/minigrid/envs/multiroom.py +++ b/minigrid/envs/multiroom.py @@ -47,7 +47,7 @@ class MultiRoomEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/obstructedmaze.py b/minigrid/envs/obstructedmaze.py index 17b995461..b8f7b7cc3 100644 --- a/minigrid/envs/obstructedmaze.py +++ b/minigrid/envs/obstructedmaze.py @@ -36,7 +36,7 @@ class ObstructedMazeEnv(RoomGrid): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/putnear.py b/minigrid/envs/putnear.py index d7104fd46..49ca92596 100644 --- a/minigrid/envs/putnear.py +++ b/minigrid/envs/putnear.py @@ -43,7 +43,7 @@ class PutNearEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/redbluedoors.py b/minigrid/envs/redbluedoors.py index e59f58cee..26433792e 100644 --- a/minigrid/envs/redbluedoors.py +++ b/minigrid/envs/redbluedoors.py @@ -37,7 +37,7 @@ class RedBlueDoorEnv(MiniGridEnv): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/unlock.py b/minigrid/envs/unlock.py index 0b2e06bc1..5dd6a5fd5 100644 --- a/minigrid/envs/unlock.py +++ b/minigrid/envs/unlock.py @@ -33,7 +33,7 @@ class UnlockEnv(RoomGrid): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards diff --git a/minigrid/envs/unlockpickup.py b/minigrid/envs/unlockpickup.py index 820ce4c50..93256285b 100644 --- a/minigrid/envs/unlockpickup.py +++ b/minigrid/envs/unlockpickup.py @@ -37,7 +37,7 @@ class UnlockPickupEnv(RoomGrid): - Each tile is encoded as a 3 dimensional tuple: `(OBJECT_IDX, COLOR_IDX, STATE)` - `OBJECT_TO_IDX` and `COLOR_TO_IDX` mapping can be found in - [minigrid/minigrid.py](minigrid/minigrid.py) + [minigrid/core/constants.py](minigrid/core/constants.py) - `STATE` refers to the door state with 0=open, 1=closed and 2=locked ## Rewards