Documented action costs.
This commit is contained in:
parent
3dfae74468
commit
e101cf2aab
@ -107,6 +107,9 @@ postcondition(<action>, effect(<number>), <variable>, <value>).
|
|||||||
|
|
||||||
% defines the condition of a conditional effect
|
% defines the condition of a conditional effect
|
||||||
precondition(effect(<number>), <variable>, <value>).
|
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.
|
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.
|
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
|
### Constants/Objects
|
||||||
|
|
||||||
```prolog
|
```prolog
|
||||||
|
Reference in New Issue
Block a user