patrick
/
plasp
Archived
1
0
Fork 0
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
Patrick Lühne 27f773e091
Added support for derived predicates in goals.
By accident, the support for derived predicates in goals was missing.
This commit adds this, in a very similar way to how normal predicates
are handled in the goal description.
2017-10-27 16:46:38 +02:00
app Removed unwanted newlines at the end of output. 2017-10-25 17:01:19 +02:00
doc Made option group parsing more uniform. 2017-10-14 02:13:46 +02:00
encodings new constant value '_parallel=0' to allow for parallel actions without checking mutual disablement 2017-10-05 20:24:59 +02:00
include/plasp Added support for derived predicates in goals. 2017-10-27 16:46:38 +02:00
instances Moved IPC 2000 Elevator example instances to instance directory. 2016-09-02 15:44:33 +02:00
lib Translating derived predicates of problems. 2017-10-27 16:21:54 +02:00
packaging/arch Added license file to PKGBUILD for AUR. 2016-10-07 18:41:53 +02:00
src Added support for derived predicates in goals. 2017-10-27 16:46:38 +02:00
tests Renamed “pddlparse” library to simply “pddl”. 2017-08-09 17:52:50 +02:00
.gitattributes Hiding example instances from Linguist. 2016-08-30 13:05:03 +02:00
.gitignore Initial commit. 2016-05-20 15:29:24 +02:00
.gitmodules Using cxxopts as a submodule. 2017-10-14 02:13:45 +02:00
.travis.yml Updated CMake in Travis configuration for C++17 support. 2017-10-14 02:13:46 +02:00
CHANGELOG.md Structured change log more nicely. 2017-10-14 02:31:04 +02:00
CMakeLists.txt Made option group parsing more uniform. 2017-10-14 02:13:46 +02:00
LICENSE.md Changed license to Markdown format. 2016-05-25 12:44:28 +02:00
README.md Updated tagline to match plasp’s recently extended tool set. 2017-10-14 02:37:46 +02:00

README.md

plasp GitHub Release Build Status Build Status

ASP planning tools for PDDL

Overview

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, sequential-incremental.lp:

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

Command-Line Interface

$ plasp [options] file...

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 for more details.

Contributors

Earlier Versions

  • René Knaebel
  • Murat Knecht