1 | <DomainActions>
|
---|
2 | <Action name="Open([target])" probability="0.8">
|
---|
3 | <PreConditions>
|
---|
4 | <Predicate name="[target](OnTable)"/>
|
---|
5 | <Predicate name="[AGENT](isPerson)"/>
|
---|
6 | <Property name="[AGENT]" operator="!=" value="SELF" />
|
---|
7 | <Predicate ToM="SELF" name=""/>
|
---|
8 | <Predicate ToM="[AGENT]" name="[target](Contains,coin)"/>
|
---|
9 | </PreConditions>
|
---|
10 | <Effects>
|
---|
11 | <Effect probability="1.0">
|
---|
12 | <Predicate name=""/>
|
---|
13 | </Effect>
|
---|
14 | <Effect probability="1.0">
|
---|
15 | <Predicate name="SELF(has,coin)"/>
|
---|
16 | </Effect>
|
---|
17 | </Effects>
|
---|
18 | <EffectsOnDrives>
|
---|
19 | </EffectsOnDrives>
|
---|
20 | </Action>
|
---|
21 | <Action name="Inform([target],[p],[x],[y])">
|
---|
22 | <PreConditions>
|
---|
23 | <Property name="[target]" operator="!=" value="[AGENT]"/>
|
---|
24 | <Property name="[SELF]" operator="=" value="[AGENT]"/>
|
---|
25 | </PreConditions>
|
---|
26 | <Effects>
|
---|
27 | <Effect probability="1">
|
---|
28 | <Predicate ToM="[target]" name="[p]([x],[y])"/>
|
---|
29 | </Effect>
|
---|
30 | </Effects>
|
---|
31 | <EffectsOnDrives>
|
---|
32 | </EffectsOnDrives>
|
---|
33 | </Action>
|
---|
34 | <Action name="Put([x],[box])">
|
---|
35 | <PreConditions>
|
---|
36 | <Predicate name="[box](OnTable)"/>
|
---|
37 | </PreConditions>
|
---|
38 | <Effects>
|
---|
39 | <Effect probability="1.0">
|
---|
40 | <Predicate name="[box](Contains,[x])"/>
|
---|
41 | </Effect>
|
---|
42 | </Effects>
|
---|
43 | <EffectsOnDrives>
|
---|
44 | </EffectsOnDrives>
|
---|
45 | </Action>
|
---|
46 | <Action name="PutHidden([x],[boxA],[boxB])">
|
---|
47 | <PreConditions>
|
---|
48 | <Property name="[boxA](type)" operator="=" value="Box"/>
|
---|
49 | <Property name="[boxB](type)" operator="=" value="Box"/>
|
---|
50 | <Property name="[boxA]" operator="!=" value="[boxB]"/>
|
---|
51 | <Predicate name="[AGENT](has,[boxA])"/>
|
---|
52 | <Predicate name="[AGENT](has,[boxB])"/>
|
---|
53 | </PreConditions>
|
---|
54 | <Effects>
|
---|
55 | <Effect probability="1.0">
|
---|
56 | <Predicate ToM="[ag1]" name="[boxA](Contains,[x])"/>
|
---|
57 | </Effect>
|
---|
58 | </Effects>
|
---|
59 | <EffectsOnDrives>
|
---|
60 | </EffectsOnDrives>
|
---|
61 | </Action>
|
---|
62 | <Action name="TakeFromTable([x])">
|
---|
63 | <PreConditions>
|
---|
64 | <Predicate name="[x](OnTable)"/>
|
---|
65 | <Property name="[x](type)" operator="=" value="Box"/>
|
---|
66 | </PreConditions>
|
---|
67 | <Effects>
|
---|
68 | <Effect probability="1.0">
|
---|
69 | <Predicate name="[AGENT](has,[x])"/>
|
---|
70 | <Predicate name="" />
|
---|
71 | </Effect>
|
---|
72 | </Effects>
|
---|
73 | <EffectsOnDrives>
|
---|
74 | </EffectsOnDrives>
|
---|
75 | </Action>
|
---|
76 | <Action name="PutOnTable([x])">
|
---|
77 | <PreConditions>
|
---|
78 | <Predicate name="[AGENT](has,[x])"/>
|
---|
79 | <Property name="[x](type)" operator="=" value="Box"/>
|
---|
80 | </PreConditions>
|
---|
81 | <Effects>
|
---|
82 | <Effect probability="1.0">
|
---|
83 | <Predicate name=""/>
|
---|
84 | <Predicate name="[x](OnTable)" />
|
---|
85 | </Effect>
|
---|
86 | </Effects>
|
---|
87 | <EffectsOnDrives>
|
---|
88 | </EffectsOnDrives>
|
---|
89 | </Action>
|
---|
90 | <Action name="InferenceInform([ag1],[target])">
|
---|
91 | <PreConditions>
|
---|
92 | <NewEvent occurred="True" subject="[ag1]" target="[target]" action="Inform" parameters="[p],[x],[y]"/>
|
---|
93 | </PreConditions>
|
---|
94 | <Effects>
|
---|
95 | <Effect probability="1">
|
---|
96 | <Predicate ToM="[target]" name="[p]([x],[y])"/>
|
---|
97 | </Effect>
|
---|
98 | </Effects>
|
---|
99 | </Action>
|
---|
100 | </DomainActions>
|
---|