Minor formatting.
This change doesn’t affect derived variables, because these aren’t affected by the “caused” predicate (the “caused” predicate requires a variable to be in the postcondition of an action, and these may never be derived variables).
This commit is contained in:
parent
b2280c155a
commit
9d04996b0a
@ -45,7 +45,7 @@ caused(Variable, Value, T) :-
|
||||
% Inertia rules
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
modified(variable(V), T) :- caused(variable(V), Value, T).
|
||||
modified(Variable, T) :- caused(Variable, Value, T).
|
||||
|
||||
holds(Variable, Value, T) :- caused(Variable, Value, T).
|
||||
holds(Variable, Value, T) :- holds(Variable, Value, T - 1), not modified(Variable, T), time(T).
|
||||
|
Reference in New Issue
Block a user