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:
@@ -25,4 +25,3 @@ goalAt(T) :- holds(variable(Variable),T) : goal(variable(Variable), value(Va
|
||||
|
||||
#show occurs/2.
|
||||
% #show holds/2.
|
||||
|
@@ -28,4 +28,3 @@ goalAt(t) :- holds(variable(Variable),t) : goal(variable(Variable), value(Va
|
||||
|
||||
#show occurs/2.
|
||||
% #show holds/2.
|
||||
|
@@ -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).
|
||||
|
Reference in New Issue
Block a user