1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//! Gridworld environments inspired by Farama Minigrid.
//!
//! This module ports a curated subset of Minigrid environments to Rust. All
//! grid envs share:
//!
//! - A **7×7×3 egocentric observation** where the agent sits at view
//! row `6`, column `3` and looks toward row `0`.
//! - A **7-action discrete action space**: turn left, turn right, forward,
//! pickup, drop, toggle, done.
//! - A **`1 - 0.9 * (step / max_steps)` success reward** formula and a
//! scalar `ScalarReward` type.
//!
//! The shared primitives live in [`core`]; each concrete environment lives
//! in its own module alongside its config struct and test suite.
//!
//! # Environments
//!
//! | Environment | Module | Key challenge |
//! |---|---|---|
//! | [`EmptyEnv`] | [`empty`] | Baseline navigation, no obstacles |
//! | [`CrossingEnv`] | [`crossing`] | Cross lava or wall strips through a single gap |
//! | [`DistShiftEnv`] | [`dist_shift`] | Distribution shift between training and evaluation layouts |
//! | [`DoorKeyEnv`] | [`door_key`] | Long-horizon: key pickup → door unlock → goal |
//! | [`DynamicObstaclesEnv`] | [`dynamic_obstacles`] | Stochastic ball obstacles that random-walk each step |
//! | [`FourRoomsEnv`] | [`four_rooms`] | Multi-room maze; must transit ≥ 2 openings |
//! | [`GoToDoorEnv`] | [`go_to_door`] | Mission-conditioned: navigate to a colored door |
//! | [`LavaGapEnv`] | [`lava_gap`] | Cross a vertical lava strip through one gap |
//! | [`MemoryEnv`] | [`memory`] | Remember a cue object; match it at a fork |
//! | [`MultiRoomEnv`] | [`multi_room`] | Toggle doors open across a configurable room count |
//! | [`UnlockEnv`] | [`unlock`] | Pick up key, unlock and open a door |
//! | [`UnlockPickupEnv`] | [`unlock_pickup`] | Unlock a door then retrieve a box from the far room |
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;