-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlti-usp-os.xml
228 lines (188 loc) · 8.39 KB
/
lti-usp-os.xml
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://moise.sourceforge.net/xml/os.xsl" type="text/xsl" ?>
<organisational-specification
id="lti_usp_team_2013"
os-version="0.1"
xmlns='http://moise.sourceforge.net/os'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation='http://moise.sourceforge.net/os
http://moise.sourceforge.net/xml/os.xsd' >
<structural-specification>
<role-definitions>
<role id="martian" />
<role id="map_explorer">
<extends role="martian"/>
</role>
<role id="map_explorer_helper">
<extends role="martian"/>
</role>
<role id="zone_explorer">
<extends role="martian"/>
</role>
<role id="soldier">
<extends role="martian"/>
</role>
<role id="medic">
<extends role="martian"/>
</role>
<role id="guardian">
<extends role="martian"/>
</role>
<role id="inspector">
<extends role="martian"/>
</role>
<role id="repairer">
<extends role="martian"/>
</role>
<role id="sentinel">
<extends role="martian"/>
</role>
<role id="saboteur">
<extends role="martian"/>
</role>
<role id="coordinator" />
</role-definitions>
<group-specification id="lti_usp_team" >
<roles>
<!--
<role id="soldier" min="0" max="24" />
<role id="guardian" min="0" max="1" />
<role id="medic" min="0" max="1" />
<role id="zone_explorer" min="0" max="1" />
<role id="saboteur" min="0" max="1" />
<role id="sentinel" min="0" max="1" />
<role id="inspector" min="0" max="1" />
<role id="repairer" min="0" max="1" />
-->
<role id="map_explorer" min="0" max="1" />
<role id="map_explorer_helper" min="0" max="1" />
<role id="coordinator" min="1" max="1" />
</roles>
<links>
<link from="martian" to="martian" type="communication"
scope="intra-group" extends-subgroups="true" bi-dir="true"/>
<link from="coordinator" to="martian" type="communication"
scope="intra-group" extends-subgroups="true" bi-dir="true"/>
</links>
<subgroups>
<group-specification id="attack_group" min="1" max="1">
<roles>
<role id="saboteur" min="0" max="1" />
<role id="sentinel" min="0" max="1" />
<role id="inspector" min="0" max="1" />
<role id="repairer" min="0" max="1" />
</roles>
</group-specification>
<group-specification id="best_zone_group" min="1" max="1">
<roles>
<role id="soldier" min="0" max="11" /> <!-- 2e 1sa 2r 3se 3i-->
<role id="guardian" min="0" max="1" />
<role id="medic" min="0" max="1" />
<role id="zone_explorer" min="0" max="1" />
</roles>
</group-specification>
<group-specification id="second_best_zone_group" min="1" max="1">
<roles>
<role id="soldier" min="0" max="7" /> <!-- 1e 0sa 1r 2se 2(3)i-->
<role id="guardian" min="0" max="1" />
<role id="medic" min="0" max="1" />
<role id="zone_explorer" min="0" max="1" />
</roles>
</group-specification>
</subgroups>
<formation-constraints>
<cardinality min="1" max="1" object="role" id="coordinator"/>
</formation-constraints>
</group-specification>
</structural-specification>
<functional-specification>
<scheme id="team_sch">
<goal id="support_team_goal" ds="Support team">
<plan operator="parallel" >
<goal id="coordinate_goal" ds="Coordinate the teammates to occupy the best zone of Mars"/>
<goal id="explore_map_goal" ds="Explore the graph"/>
<goal id="help_explore_map_goal" ds=" Help explore the graph"/>
</plan>
</goal>
<mission id="m_coordinate" min="1" max="1">
<goal id="coordinate_goal"/>
</mission>
<mission id="m_explore_map" min="1" max="1">
<goal id="explore_map_goal"/>
</mission>
<mission id="m_help_explore_map" min="0" max="1">
<goal id="help_explore_map_goal"/>
</mission>
</scheme>
<scheme id="attack_sch">
<goal id="attack_opponent_goal" ds="Sabotage the opponents">
<plan operator="parallel" >
<goal id="attack_goal" ds="Attack the opponents"/>
<goal id="sabotage_goal" ds="Sabotage the opponents"/>
<goal id="inspect_goal" ds="Inspect the opponents"/>
<goal id="repair_goal" ds="Repair the other teammates"/>
</plan>
</goal>
<mission id="m_attack" min="0" max="1">
<goal id="attack_goal"/>
</mission>
<mission id="m_sabotage" min="0" max="1">
<goal id="sabotage_goal"/>
</mission>
<mission id="m_inspect" min="0" max="1">
<goal id="inspect_goal"/>
</mission>
<mission id="m_repair" min="0" max="1">
<goal id="repair_goal"/>
</mission>
</scheme>
<scheme id="occupy_zone_sch">
<goal id="occupy_zone" ds="Occupy the (second) best zone in the map">
<plan operator="parallel" >
<goal id="create_zone_goal" ds="Occupy the best zone of Mars"/>
<goal id="defend_zone_goal" ds="Defend the zone from opponents"/>
<goal id="explore_zone_goal" ds="Explore the zone"/>
<goal id="occupy_center_goal" ds="Occupy the best vertex of the zone"/>
</plan>
</goal>
<mission id="m_create_zone" min="6" max="11">
<goal id="create_zone_goal"/>
</mission>
<mission id="m_defend_zone" min="1" max="2">
<goal id="defend_zone_goal"/>
</mission>
<mission id="m_explore_zone" min="1" max="1">
<goal id="explore_zone_goal"/>
</mission>
<mission id="m_occupy_center" min="1" max="1">
<goal id="occupy_center_goal"/>
</mission>
</scheme>
</functional-specification>
<normative-specification>
<norm id = "n1" type="obligation"
role="coordinator" mission="m_coordinate" />
<norm id = "n2" type="obligation"
role="map_explorer" mission="m_explore_map" />
<norm id = "n21" type="permission"
role="map_explorer_helper" mission="m_help_explore_map" />
<norm id = "n3" type="permission"
role="saboteur" mission="m_attack" />
<norm id = "n4" type="permission"
role="sentinel" mission="m_sabotage" />
<norm id = "n5" type="permission"
role="inspector" mission="m_inspect" />
<norm id = "n5b" type="permission"
role="inspector" mission="m_create_zone" />
<norm id = "n6" type="permission"
role="repairer" mission="m_repair" />
<norm id = "n7" type="permission"
role="soldier" mission="m_create_zone" />
<norm id = "n8" type="permission"
role="guardian" mission="m_defend_zone" />
<norm id = "n9" type="obligation"
role="zone_explorer" mission="m_explore_zone" />
<norm id = "n10" type="obligation"
role="medic" mission="m_occupy_center" />
</normative-specification>
</organisational-specification>