Closed zhangyuanlin closed 6 years ago
Maybe it is an ambiguity in ALM as described in the paper. The following is from paper
An executability condition for actions is an expression of the form
impossible occurs(a) if instance(a, c), cond
where a is a variable or an object constant, c is the sort actions or a subsort of it,
and cond is a collection of literals and expressions of the form occurs(t) or ¬occurs(t)
where t is a variable or an object constant of the sort actions.
The law says that an occurrence of an action a of the sort c is impossible
when condition cond holds.
can occurrence of one action depend on the occurrence of another in the executability condition? from what I read from above I seem to understand that cond can include the occurrence of another action. is that correct?
I think so.
The specification of executability condition does seem to allow any other literals. I am not sure if that is intentional or an overlook.
Sorry, a correct reading could be: it allows all kinds of literals as well as expressions using occurs. So the specification is good.
calm.jar is updated. the above program is now producing final answer sets. I did not check if the answer set was correct.
In
cook_toast_side is an action sort. It is ok in first instance(...), but complained in the second instance(...). For specific error message and program, see below.
Error message
The program