Documented feature requirements.
This commit is contained in:
parent
042531abc3
commit
ffcf07b935
@ -2,18 +2,24 @@
|
|||||||
|
|
||||||
`plasp` 3 translates SAS and PDDL files into the same ASP fact format.
|
`plasp` 3 translates SAS and PDDL files into the same ASP fact format.
|
||||||
|
|
||||||
## Sections
|
## Syntax and Semantics
|
||||||
|
|
||||||
The `plasp` output contains the following sections:
|
`plasp` structures the translated ASP facts into the multiple sections, which are explained in the following.
|
||||||
|
|
||||||
section | description
|
### Feature Requirements
|
||||||
--------|------------
|
|
||||||
feature requirements | advanced features (such as conditional effects or axiom rules) required by the input planning problem
|
Declares advanced features required by the input planning problem, such as conditional effects and axiom rules.
|
||||||
types (PDDL only) | object types used by the planning problem (only if typing is enabled)
|
|
||||||
variables | fluents used by the planning problem (variables in SAS and predicates in PDDL) and their possible values
|
Feature requirements may be used in meta encodings to warn about features that are unsupported by the encoding.
|
||||||
actions | actions (operators in SAS and actions in PDDL), their preconditions, and effects
|
|
||||||
mutex groups (SAS only) | sets of mutually exclusive variable assignments
|
syntax | description
|
||||||
axiom rules (SAS only) | special actions that are immediately executed when the preconditions are satisfied
|
-------|------------
|
||||||
objects (PDDL only) | constant objects defined by PDDL domains or problems
|
`requiresFeature(<feature>).` | declares the feature `<feature>` to be required by the input problem
|
||||||
initial state | initial variable assignment
|
|
||||||
goal | target variable assignment
|
Currently, feature requirements are only recognized with SAS problems.
|
||||||
|
|
||||||
|
SAS feature | description
|
||||||
|
------------|------------
|
||||||
|
`actionCosts` | actions have associated costs
|
||||||
|
`axiomRules` | immediate actions used, which are executed as soon as the preconditions are satisfied
|
||||||
|
`conditionalEffects` | some effects of an action may have additional conditions
|
||||||
|
Reference in New Issue
Block a user