Added rule to PDDL translator output to make all unspecified initial state variables false by default.

This commit is contained in:
2016-08-17 19:02:51 +02:00
parent 91019f52aa
commit 7bd483cd7e
2 changed files with 11 additions and 4 deletions

View File

@@ -10,9 +10,6 @@
% Establish initial state
holds(Variable, Value, 0) :- initialState(Variable, Value).
% Make unspecified initial state variables false by default (for PDDL)
holds(variable(Variable), value(Variable, false), 0) :- variable(variable(Variable)), {initialState(variable(Variable), _)} 0.
#program step(t).
% Perform actions