patrick
/
plasp
Archived
1
0
Fork 0

Documented action costs.

This commit is contained in:
Patrick Lühne 2016-08-14 15:49:34 +02:00
parent 3dfae74468
commit e101cf2aab
1 changed files with 5 additions and 0 deletions

View File

@ -107,6 +107,9 @@ postcondition(<action>, effect(<number>), <variable>, <value>).
% defines the condition of a conditional effect
precondition(effect(<number>), <variable>, <value>).
% specifies the costs of applying <action>
costs(<action>, <number>).
```
Actions may require certain variables to have specific values in order to be executed.
@ -120,6 +123,8 @@ Unconditional effects are identified with `effect(unconditional)`.
Conditional effects are currently only supported with SAS input problems.
Actions may also have costs required to apply them. Action costs are currently supported for SAS only.
### Constants/Objects
```prolog