ASP planning tools for PDDL (local mirror of https://github.com/potassco/plasp for development purposes) https://potassco.org/
This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2016-05-30 12:32:13 +02:00
apps Started implementing PDDL domain parser. 2016-05-29 16:55:43 +02:00
encodings Made SAS translator output format contain less IDs. 2016-05-24 01:42:15 +02:00
include/plasp Started implementing PDDL domain parser. 2016-05-29 16:55:43 +02:00
src Started implementing PDDL domain parser. 2016-05-29 16:55:43 +02:00
tests Added test for Parser’s cursor position. 2016-05-30 12:32:13 +02:00
.gitattributes Ignoring configuration files for exporting the repository. 2016-05-25 23:49:58 +02:00
.gitignore Initial commit. 2016-05-20 15:29:24 +02:00
.gitmodules Made git ignore dirty submodules. 2016-05-21 00:37:32 +02:00
.travis.yml Reduced the number of boost dependencies with Travis. 2016-05-26 00:23:30 +02:00
CHANGELOG.md Added change log. 2016-05-25 12:42:31 +02:00
CMakeLists.txt Added missing CMake option for building tests. 2016-05-20 19:49:40 +02:00
LICENSE.md Changed license to Markdown format. 2016-05-25 12:44:28 +02:00
README.md Removed version numbers from contributors to earlier versions. 2016-05-26 13:01:46 +02:00

plasp—Translate PDDL to ASP

GitHub Release Build Status

plasp 3 is in early development and not intended for productive use yet.

As of now, plasp 3 experimentally supports the full SAS Format (as of version 3) used by Fast Downward.

Please get in touch with Patrick Lühne if you have any suggestions.

Usage

To translate an SAS file into ASP facts, call:

$ plasp file.sas

For example, a PDDL instance can be solved as follows. First, use Fast Downward to translate the files from PDDL to SAS:

$ ./fast-downward.py --translate --build=release64 domain.pddl instance.pddl

This creates the file output.sas. The translated SAS instance can now be solved incrementally with clingo and the meta encoding meta-sequential-incremental.lp:

$ plasp output.sas > instance.lp
$ clingo encodings/meta-sequential-incremental.lp instance.lp

Building

plasp requires a C++14 compiler (preferrably GCC ≥ 6.1), the boost libraries (≥ 1.55), and CMake for building.

$ git clone https://github.com/potassco/plasp.git
$ cd plasp
$ mkdir -p build/release
$ cd build/release
$ cmake ../.. -DCMAKE_BUILD_TYPE=Release
$ make

The built plasp binary is then located at plasp/build/release/bin/plasp.

Running the Tests

plasp provides unit tests written using the Google Test framework. Before building and running the tests, make sure you have fetched the Google Test git submodule:

$ git submodule init
$ git submodule update

Afterward, build and run the tests as follows:

$ make run-tests

Contributors

Earlier Versions

  • René Knaebel
  • Murat Knecht