Extended readme file with Fast Downward usage information.

This commit is contained in:
Patrick Lühne 2016-05-24 12:53:09 +02:00
parent fd1ce50b35
commit fe08394d05

View File

@ -16,11 +16,19 @@ To translate an SAS file into ASP facts, call:
$ plasp file.sas $ plasp file.sas
``` ```
For instance, the translated SAS instance can be solved incrementally with `clingo` and the meta encoding `meta-sequential-incremental.lp` as follows: For instance, a PDDL instance can be solved as follows.
First, use [Fast Downward](http://www.fast-downward.org/) to translate the files from PDDL to SAS:
```bash ```bash
$ plasp file.sas > file.lp $ ./fast-downward.py --translate --build=release64 domain.pddl instance.pddl
$ clingo encodings/meta-sequential-incremental.lp file.lp ```
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`:
```bash
$ plasp output.sas > instance.lp
$ clingo encodings/meta-sequential-incremental.lp instance.lp
``` ```
## Building ## Building