Documented action costs.

This commit is contained in:
Patrick Lühne 2016-08-14 15:49:34 +02:00
parent 3dfae74468
commit e101cf2aab

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