fixed bug in conditional effects
- still one test screwing up -
This commit is contained in:
parent
06feeab244
commit
69757e50ac
@ -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).
|
||||
|
Reference in New Issue
Block a user