Skip to content

sekhar989/vacuumworld-gym

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vacuumworld-gym

Vacuum World as a Gym environment

local install:

git clone [email protected]:BenedictWilkinsAI/vacuumworld-gym.git
cd vacuumworld-gym
pip install -e .

use

import random
from vwgym import VacuumWorld, Vectorise


env = VacuumWorld(3)
env = Vectorise(env)
state = env.reset()

for i in range(10):
    action = random.randint(0,env.action_space.n-1)
    state, reward, done, *_ = env.step(action)

For running instructions please refer here.

About

Vacuum World as a Gym environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 97.6%
  • Python 2.4%