-
Notifications
You must be signed in to change notification settings - Fork 1
/
ambulance_inst_mdp__3.rddl
103 lines (102 loc) · 2.82 KB
/
ambulance_inst_mdp__3.rddl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
non-fluents nf_ambulance_inst_mdp__3 {
domain = ambulance_mdp;
objects {
ambulance : {a0, a1, a2, a3};
node : {n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16, n17, n18, n19, n20, n21, n22, n23};
};
non-fluents {
HOSPITAL(n0) = true;
HOSPITAL(n17) = true;
connected(n0, n1) = true; // ***4x6 grid***
connected(n1, n0) = true;
connected(n1, n2) = true;
connected(n2, n1) = true;
connected(n2, n3) = true;
connected(n3, n2) = true;
connected(n3, n4) = true;
connected(n4, n3) = true;
connected(n4, n5) = true;
connected(n5, n4) = true;
connected(n0, n6) = true;
connected(n6, n0) = true;
connected(n1, n7) = true;
connected(n7, n1) = true;
connected(n2, n8) = true;
connected(n8, n2) = true;
connected(n3, n9) = true;
connected(n9, n3) = true;
connected(n4, n10) = true;
connected(n10, n4) = true;
connected(n5, n11) = true;
connected(n11, n5) = true;
connected(n6, n7) = true;
connected(n7, n6) = true;
connected(n7, n8) = true;
connected(n8, n7) = true;
connected(n8, n9) = true;
connected(n9, n8) = true;
connected(n9, n10) = true;
connected(n10, n9) = true;
connected(n10, n11) = true;
connected(n11, n10) = true;
connected(n6, n12) = true;
connected(n12, n6) = true;
connected(n7, n13) = true;
connected(n13, n7) = true;
connected(n8, n14) = true;
connected(n14, n8) = true;
connected(n9, n15) = true;
connected(n15, n9) = true;
connected(n10, n16) = true;
connected(n16, n10) = true;
connected(n11, n17) = true;
connected(n17, n11) = true;
connected(n12, n13) = true;
connected(n13, n12) = true;
connected(n13, n14) = true;
connected(n14, n13) = true;
connected(n14, n15) = true;
connected(n15, n14) = true;
connected(n15, n16) = true;
connected(n16, n15) = true;
connected(n16, n17) = true;
connected(n17, n16) = true;
connected(n12, n18) = true;
connected(n18, n12) = true;
connected(n13, n19) = true;
connected(n19, n13) = true;
connected(n14, n20) = true;
connected(n20, n14) = true;
connected(n15, n21) = true;
connected(n21, n15) = true;
connected(n16, n22) = true;
connected(n22, n16) = true;
connected(n17, n23) = true;
connected(n23, n17) = true;
connected(n18, n19) = true;
connected(n19, n18) = true;
connected(n19, n20) = true;
connected(n20, n19) = true;
connected(n20, n21) = true;
connected(n21, n20) = true;
connected(n21, n22) = true;
connected(n22, n21) = true;
connected(n22, n23) = true;
connected(n23, n22) = true;
CALL-PARAM(n0) = 0.0;
CALL-PARAM(n17) = 0.0;
};
}
instance ambulance_inst_mdp__3 {
domain = ambulance_mdp;
non-fluents = nf_ambulance_inst_mdp__3;
init-state {
ambulance-at-node(a0, n0);
ambulance-at-node(a1, n0);
ambulance-at-node(a2, n17);
ambulance-at-node(a3, n17);
};
max-nondef-actions = 4;
horizon = 40;
discount = 1.0;
}