Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

Commit d7e1958

Browse files
committed
Rename variables
1 parent a16e66b commit d7e1958

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

implementation/compiler-domain/domain.pddl

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
)
1111

1212
(:predicates
13-
(variable_info ?variable - variable_name ?value - variable_value ?assignment_operation - assignment)
13+
(variable_info ?var - variable_name ?value - variable_value ?id - assignment)
1414
(executed_assignment ?var - variable_name ?value - variable_value ?id - assignment)
1515
(executed_operation ?id - operation)
1616
(executed_binary_operation ?a - assignment ?b - assignment ?id - operation ?c - assignment)
@@ -20,39 +20,39 @@
2020
:parameters (
2121
?var - variable_name
2222
?value - variable_value
23-
?operation_id - assignment
23+
?id - assignment
2424
)
2525
:precondition (and
26-
(not (executed_assignment ?var ?value ?operation_id))
26+
(not (executed_assignment ?var ?value ?id))
2727
)
2828
:effect (and
29-
(variable_info ?var ?value ?operation_id)
30-
(executed_assignment ?var ?value ?operation_id)
29+
(variable_info ?var ?value ?id)
30+
(executed_assignment ?var ?value ?id)
3131
)
3232
)
3333

3434
(:action binary_operation
3535
:parameters (
3636
?varA - variable_name
3737
?valueA - variable_value
38-
?opA - assignment
38+
?idA - assignment
3939
?varB - variable_name
4040
?valueB - variable_value
41-
?opB - assignment
42-
?opC - assignment
41+
?idB - assignment
42+
?idC - assignment
4343
?operation_id - operation
4444
)
4545
:precondition (and
4646
(not (executed_operation ?operation_id))
47-
(variable_info ?varA ?valueA ?opA)
48-
(variable_info ?varB ?valueB ?opB)
49-
(not (executed_binary_operation ?opA ?opB ?operation_id ?opC))
50-
(executed_assignment ?varA ?valueA ?opA)
51-
(executed_assignment ?varB ?valueB ?opB)
47+
(variable_info ?varA ?valueA ?idA)
48+
(variable_info ?varB ?valueB ?idB)
49+
(not (executed_binary_operation ?idA ?idB ?operation_id ?idC))
50+
(executed_assignment ?varA ?valueA ?idA)
51+
(executed_assignment ?varB ?valueB ?idB)
5252
)
5353
:effect (and
5454
(executed_operation ?operation_id)
55-
(executed_binary_operation ?opA ?opB ?operation_id ?opC)
55+
(executed_binary_operation ?idA ?idB ?operation_id ?idC)
5656
)
5757
)
5858
)

0 commit comments

Comments
 (0)