Giter VIP home page Giter VIP logo

lao-pddlgym's Introduction

lao-pddlgym

Implementation of LAO*/ILAO* [Hansen and Zilberstein, 2001] algorithms to solve MDPs described as PDDLGym environments

Notes

This implementation uses the function get_successor_states imported from PDDLGym's core module (pddlgym.core). Since this feature is currently available in PDDLGym's repository but not in its latest pypi release as of now, to use it you'll need to either clone the repository and install it locally or install it via pip by pointing to the repository. You can do the former by settting up a virtual env (see here) or the latter by running the following:

$ pip install git+https://github.com/tomsilver/pddlgym

Usage

For usage instructions, run python main.py --help in the repository's root folder

The following command example can be used to solve the first available instance of the Triangle Tireworld [Little et al., 2007] environment using the ILAO algorithm and output some results:

$ python src/main.py --env PDDLEnvTireworld-v0 --problem_index 0 --algorithm ilao --render_and_save

To simulate an episode after the optimal policy has been found and render each encountered state:

$ python src/main.py --env PDDLEnvTireworld-v0 --problem_index 0 --algorithm ilao --simulate --render_and_save

Right now only the heuristic function h(s) = 0 is available, so the performance might not be great.

lao-pddlgym's People

Contributors

gcrispino avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.