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-08-18 15:51:58 +02:00
apps Version bump after release 3.0.2 RC 1. 2016-08-14 17:40:51 +02:00
doc Updated documentation to recent change of PDDL translator output. 2016-08-17 19:05:01 +02:00
encodings Added rule to PDDL translator output to make all unspecified initial state variables false by default. 2016-08-17 19:02:51 +02:00
include/plasp Turned exception about unspecified requirements into a warning, now also for problems. 2016-08-18 14:30:47 +02:00
instances Added IPC 2004 Satellite example instances. 2016-08-18 15:51:58 +02:00
src Fixed syntax error in output. 2016-08-18 14:39:40 +02:00
tests Fixed issue with unsupported expression negations. 2016-08-16 18:58:30 +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 Changed Travis configuration to use 3 threads for building. 2016-06-01 22:49:59 +02:00
CHANGELOG.md Fixed issue with unsupported expression negations. 2016-08-16 18:58:30 +02:00
CMakeLists.txt Disabled tests by default. 2016-08-15 02:23:05 +02:00
LICENSE.md Changed license to Markdown format. 2016-05-25 12:44:28 +02:00
README.md Fixed typo. 2016-08-15 15:26:34 +02:00

plasp—Translate PDDL to ASP

GitHub Release Build Status Build Status

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

plasp translates planning problem instances to ASP facts. plasp 3 supports the input languages PDDL 3.1 (only basic features currently) and SAS (full support of SAS 3), which is used by Fast Downward.

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

Usage

Translating PDDL to ASP Facts

PDDL instances are translated to ASP facts as follows:

$ plasp domain.pddl problem.pddl

Alternatively, PDDL instances may first be translated to SAS, the output format of Fast Downward.

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

This creates a file called output.sas, which may now be translated by plasp.

$ plasp output.sas

Solving the Translated Instance

The translated instance can finally be solved incrementally with clingo and a meta encoding, for instance, pddl-meta-sequential-incremental.lp:

$ plasp domain.pddl problem.pddl > instance.lp
$ clingo encodings/pddl-meta-sequential-incremental.lp instance.lp

Command-Line Interface

$ plasp [files] [options]

plasp automatically detects the language of the input program.

See command-line interface for more details.

Output Format

plasp provides a uniform output format for SAS and PDDL input problems.

See output format for more details.

If you want to write your own meta encoding for plasps output, this simple example encoding gets you started.

Building

plasp requires boost and is built via CMake and a C++ compiler.

See building instructions for more details.

Contributors

Earlier Versions

  • René Knaebel
  • Murat Knecht