fixed bug in conditional effects

- still one test screwing up -
This commit is contained in:
Torsten Schaub 2016-08-26 18:00:33 +02:00
parent 06feeab244
commit 69757e50ac

View File

@ -22,7 +22,7 @@ stateVariable(Variable) :- headVariable(_,Variable).
% Apply effects
caused(Variable, Value, t) :- occurs(Action, t), postcondition(Action, Effect, Variable, Value),
holds(Variable', Value', t) : precondition(Effect, Variable', Value').
holds(Variable', Value', t-1) : precondition(Effect, Variable', Value').
modified(Variable, t) :- caused(Variable, Value, t).
holds(Variable, Value, t) :- caused(Variable, Value, t).