Random maze environments with different size and complexity for reinforcement learning and planning research. This is in-particular to investigate generalization and planning ability in dynamically changing environment.
Project description
maze-world
Random maze environments with different size and complexity for reinforcement learning and planning research. This is in-particular to investigate generalization and planning ability in dynamically changing environment.
Disclaimer: This project is largely a amalgam of references mentioned here.
Installation
-
Using PyPI:
pip install maze-world
-
Directly from source (recommended):
git clone https://github.com/koulanurag/maze-world.git cd maze-world pip install -e .
Environments Zoo!
| RandomMaze-11x11-v0 | RandomMaze-21x21-v0 | RandomMaze-31x31-v0 | RandomMaze-101x101-v0 |
See all here.
Quick-Start:
import gymnasium as gym
env = gym.make("maze_world:RandomMaze-11x11-v0", render_mode="human")
terminated, truncated = False, False
observation, info = env.reset(seed=0, options={})
episode_score = 0.
while not (terminated or truncated):
action = env.action_space.sample()
observation, reward, terminated, truncated, info = env.step(action)
episode_score += reward
env.close()
See entire quick-start guide here.
Testing:
- Install:
pip install -e ".[test]" - Run:
pytest
Development:
If you would like to develop it further; begin by installing following:
pip install -e ".[develop]"
References:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maze-world-0.0.1.tar.gz.
File metadata
- Download URL: maze-world-0.0.1.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
643f1fe3eeb7d34c9c05902e42f9ca5d1d4502d87ddd33932afab90e53ff6eed
|
|
| MD5 |
14c9dcbaaa3552a30e55965ce41fbda2
|
|
| BLAKE2b-256 |
74666dc7925cf381a4aeae60326409750b8936f2e9974f6a6da6c04b3e6ec66a
|
File details
Details for the file maze_world-0.0.1-py3-none-any.whl.
File metadata
- Download URL: maze_world-0.0.1-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ca48f3b06f0660ca634ff2b842b025259f080eb6e20a7b4154e8b08f688b024
|
|
| MD5 |
a98fa68cc772054f2c0513b0b4db12b7
|
|
| BLAKE2b-256 |
18064975679ec6136124fbf99c8243365d38171dce8778a95924c1fb529599d7
|