Moved outdated encodings to separate directory.

These encodings need to be updated to match the new output format. Until
this is done, hide these files in a separate directory in order not to
confuse users.
This commit is contained in:
2017-11-17 15:15:20 +01:00
parent 9fde2b8e1b
commit 8ff87985f5
5 changed files with 5 additions and 7 deletions

View File

@@ -25,4 +25,3 @@ goalAt(T) :- holds(variable(Variable),T) : goal(variable(Variable), value(Va
#show occurs/2.
% #show holds/2.

View File

@@ -28,4 +28,3 @@ goalAt(t) :- holds(variable(Variable),t) : goal(variable(Variable), value(Va
#show occurs/2.
% #show holds/2.

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 - 1) : precondition(Effect, Variable', Value').
holds(Variable', Value', t - 1) : precondition(Effect, Variable', Value').
changed(Variable, t) :- caused(Variable, Value, t).
holds(Variable, Value, t) :- caused(Variable, Value, t).
@@ -38,7 +38,7 @@ holds(Variable, Value, t) :- holds(Variable, Value, t - 1), not changed(Variable
% Apply axioms
derived(Variable, Value, t) :- axiomRule(Rule), postcondition(Rule,_,Variable,Value),
holds(Variable', Value', t) : precondition(Rule, Variable', Value'), not headVariable(Rule,Variable').
holds(Variable', Value', t) : precondition(Rule, Variable', Value'), not headVariable(Rule,Variable').
modified(Variable, t) :- derived(Variable, Value, t).