diff --git a/encodings/sequential-horizon.lp b/encodings/sequential-horizon.lp index 55420a2..fe28989 100644 --- a/encodings/sequential-horizon.lp +++ b/encodings/sequential-horizon.lp @@ -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).