diff options
author | 2019-05-06 18:42:22 -0400 | |
---|---|---|
committer | 2019-05-06 18:42:22 -0400 | |
commit | 09b1255f11ee17828da706f682e33f50316887fe (patch) | |
tree | f3783961c521b73201a9d079be78feb26e8a285c /Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/outputs/debug/generated3valued.vql_deactivated | |
parent | Merge remote-tracking branch 'origin/master' into kris (diff) | |
download | VIATRA-Generator-09b1255f11ee17828da706f682e33f50316887fe.tar.gz VIATRA-Generator-09b1255f11ee17828da706f682e33f50316887fe.tar.zst VIATRA-Generator-09b1255f11ee17828da706f682e33f50316887fe.zip |
Trying to implement spacecraft case study
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/outputs/debug/generated3valued.vql_deactivated')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/outputs/debug/generated3valued.vql_deactivated | 1265 |
1 files changed, 904 insertions, 361 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/outputs/debug/generated3valued.vql_deactivated b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/outputs/debug/generated3valued.vql_deactivated index b7530140..853b7b54 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/outputs/debug/generated3valued.vql_deactivated +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.satellite/outputs/debug/generated3valued.vql_deactivated | |||
@@ -45,6 +45,11 @@ pattern mayEquivalent(problem:LogicProblem, interpretation:PartialInterpretation | |||
45 | find mayExist(problem,interpretation,b); | 45 | find mayExist(problem,interpretation,b); |
46 | a == b; | 46 | a == b; |
47 | } | 47 | } |
48 | pattern mustEquivalent(problem:LogicProblem, interpretation:PartialInterpretation, a: DefinedElement, b: DefinedElement) { | ||
49 | find mustExist(problem,interpretation,a); | ||
50 | find mustExist(problem,interpretation,b); | ||
51 | a == b; | ||
52 | } | ||
48 | 53 | ||
49 | //////////////////////// | 54 | //////////////////////// |
50 | // 0.3 Required Patterns by TypeIndexer | 55 | // 0.3 Required Patterns by TypeIndexer |
@@ -104,23 +109,23 @@ private pattern mayInstanceOfConstellationMission_class(problem:LogicProblem, in | |||
104 | { | 109 | { |
105 | find interpretation(problem,interpretation); | 110 | find interpretation(problem,interpretation); |
106 | PartialInterpretation.newElements(interpretation,element); | 111 | PartialInterpretation.newElements(interpretation,element); |
112 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
113 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
107 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | 114 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); |
108 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | 115 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
109 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
110 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
111 | neg find mustInstanceOfConstellationMission_class_UndefinedPart(problem,interpretation,element); | ||
112 | neg find mustInstanceOfInterferometryMission_class(problem,interpretation,element); | 116 | neg find mustInstanceOfInterferometryMission_class(problem,interpretation,element); |
117 | neg find mustInstanceOfConstellationMission_class_UndefinedPart(problem,interpretation,element); | ||
113 | neg find scopeDisallowsNewConstellationMission_class(problem, interpretation); | 118 | neg find scopeDisallowsNewConstellationMission_class(problem, interpretation); |
114 | neg find isPrimitive(element); | 119 | neg find isPrimitive(element); |
115 | } or { | 120 | } or { |
116 | find interpretation(problem,interpretation); | 121 | find interpretation(problem,interpretation); |
117 | PartialInterpretation.openWorldElements(interpretation,element); | 122 | PartialInterpretation.openWorldElements(interpretation,element); |
123 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
124 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
118 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | 125 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); |
119 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | 126 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
120 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
121 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
122 | neg find mustInstanceOfConstellationMission_class_UndefinedPart(problem,interpretation,element); | ||
123 | neg find mustInstanceOfInterferometryMission_class(problem,interpretation,element); | 127 | neg find mustInstanceOfInterferometryMission_class(problem,interpretation,element); |
128 | neg find mustInstanceOfConstellationMission_class_UndefinedPart(problem,interpretation,element); | ||
124 | neg find scopeDisallowsNewConstellationMission_class(problem, interpretation); | 129 | neg find scopeDisallowsNewConstellationMission_class(problem, interpretation); |
125 | neg find isPrimitive(element); | 130 | neg find isPrimitive(element); |
126 | } or | 131 | } or |
@@ -148,21 +153,21 @@ private pattern mayInstanceOfInterferometryMission_class(problem:LogicProblem, i | |||
148 | { | 153 | { |
149 | find interpretation(problem,interpretation); | 154 | find interpretation(problem,interpretation); |
150 | PartialInterpretation.newElements(interpretation,element); | 155 | PartialInterpretation.newElements(interpretation,element); |
156 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
157 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
151 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | 158 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); |
152 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | 159 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
153 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
154 | neg find mustInstanceOfConstellationMission_class_UndefinedPart(problem,interpretation,element); | 160 | neg find mustInstanceOfConstellationMission_class_UndefinedPart(problem,interpretation,element); |
155 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
156 | neg find scopeDisallowsNewInterferometryMission_class(problem, interpretation); | 161 | neg find scopeDisallowsNewInterferometryMission_class(problem, interpretation); |
157 | neg find isPrimitive(element); | 162 | neg find isPrimitive(element); |
158 | } or { | 163 | } or { |
159 | find interpretation(problem,interpretation); | 164 | find interpretation(problem,interpretation); |
160 | PartialInterpretation.openWorldElements(interpretation,element); | 165 | PartialInterpretation.openWorldElements(interpretation,element); |
166 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
167 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
161 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | 168 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); |
162 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | 169 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
163 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
164 | neg find mustInstanceOfConstellationMission_class_UndefinedPart(problem,interpretation,element); | 170 | neg find mustInstanceOfConstellationMission_class_UndefinedPart(problem,interpretation,element); |
165 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
166 | neg find scopeDisallowsNewInterferometryMission_class(problem, interpretation); | 171 | neg find scopeDisallowsNewInterferometryMission_class(problem, interpretation); |
167 | neg find isPrimitive(element); | 172 | neg find isPrimitive(element); |
168 | } or | 173 | } or |
@@ -190,23 +195,23 @@ private pattern mayInstanceOfCommunicatingElement_class(problem:LogicProblem, in | |||
190 | { | 195 | { |
191 | find interpretation(problem,interpretation); | 196 | find interpretation(problem,interpretation); |
192 | PartialInterpretation.newElements(interpretation,element); | 197 | PartialInterpretation.newElements(interpretation,element); |
193 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
194 | neg find mustInstanceOfCommunicatingElement_class_UndefinedPart(problem,interpretation,element); | ||
195 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
196 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 198 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
197 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 199 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
198 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 200 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); |
201 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | ||
202 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
203 | neg find mustInstanceOfCommunicatingElement_class_UndefinedPart(problem,interpretation,element); | ||
199 | neg find scopeDisallowsNewCommunicatingElement_class(problem, interpretation); | 204 | neg find scopeDisallowsNewCommunicatingElement_class(problem, interpretation); |
200 | neg find isPrimitive(element); | 205 | neg find isPrimitive(element); |
201 | } or { | 206 | } or { |
202 | find interpretation(problem,interpretation); | 207 | find interpretation(problem,interpretation); |
203 | PartialInterpretation.openWorldElements(interpretation,element); | 208 | PartialInterpretation.openWorldElements(interpretation,element); |
204 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
205 | neg find mustInstanceOfCommunicatingElement_class_UndefinedPart(problem,interpretation,element); | ||
206 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
207 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 209 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
208 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 210 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
209 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 211 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); |
212 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | ||
213 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
214 | neg find mustInstanceOfCommunicatingElement_class_UndefinedPart(problem,interpretation,element); | ||
210 | neg find scopeDisallowsNewCommunicatingElement_class(problem, interpretation); | 215 | neg find scopeDisallowsNewCommunicatingElement_class(problem, interpretation); |
211 | neg find isPrimitive(element); | 216 | neg find isPrimitive(element); |
212 | } or | 217 | } or |
@@ -234,21 +239,21 @@ private pattern mayInstanceOfGroundStationNetwork_class(problem:LogicProblem, in | |||
234 | { | 239 | { |
235 | find interpretation(problem,interpretation); | 240 | find interpretation(problem,interpretation); |
236 | PartialInterpretation.newElements(interpretation,element); | 241 | PartialInterpretation.newElements(interpretation,element); |
237 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
238 | neg find mustInstanceOfCommunicatingElement_class_UndefinedPart(problem,interpretation,element); | ||
239 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
240 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 242 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
243 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
241 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 244 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
245 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
246 | neg find mustInstanceOfCommunicatingElement_class_UndefinedPart(problem,interpretation,element); | ||
242 | neg find scopeDisallowsNewGroundStationNetwork_class(problem, interpretation); | 247 | neg find scopeDisallowsNewGroundStationNetwork_class(problem, interpretation); |
243 | neg find isPrimitive(element); | 248 | neg find isPrimitive(element); |
244 | } or { | 249 | } or { |
245 | find interpretation(problem,interpretation); | 250 | find interpretation(problem,interpretation); |
246 | PartialInterpretation.openWorldElements(interpretation,element); | 251 | PartialInterpretation.openWorldElements(interpretation,element); |
247 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
248 | neg find mustInstanceOfCommunicatingElement_class_UndefinedPart(problem,interpretation,element); | ||
249 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
250 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 252 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
253 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
251 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 254 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
255 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
256 | neg find mustInstanceOfCommunicatingElement_class_UndefinedPart(problem,interpretation,element); | ||
252 | neg find scopeDisallowsNewGroundStationNetwork_class(problem, interpretation); | 257 | neg find scopeDisallowsNewGroundStationNetwork_class(problem, interpretation); |
253 | neg find isPrimitive(element); | 258 | neg find isPrimitive(element); |
254 | } or | 259 | } or |
@@ -276,333 +281,377 @@ private pattern mayInstanceOfSpacecraft_class(problem:LogicProblem, interpretati | |||
276 | { | 281 | { |
277 | find interpretation(problem,interpretation); | 282 | find interpretation(problem,interpretation); |
278 | PartialInterpretation.newElements(interpretation,element); | 283 | PartialInterpretation.newElements(interpretation,element); |
279 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
280 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
281 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
282 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
283 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
284 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 284 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
285 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 285 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
286 | neg find mustInstanceOfCubeSat_class(problem,interpretation,element); | ||
286 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 287 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); |
288 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | ||
289 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
290 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
287 | neg find scopeDisallowsNewSpacecraft_class(problem, interpretation); | 291 | neg find scopeDisallowsNewSpacecraft_class(problem, interpretation); |
288 | neg find isPrimitive(element); | 292 | neg find isPrimitive(element); |
289 | } or { | 293 | } or { |
290 | find interpretation(problem,interpretation); | 294 | find interpretation(problem,interpretation); |
291 | PartialInterpretation.openWorldElements(interpretation,element); | 295 | PartialInterpretation.openWorldElements(interpretation,element); |
292 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
293 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
294 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
295 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
296 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
297 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 296 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
298 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 297 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
298 | neg find mustInstanceOfCubeSat_class(problem,interpretation,element); | ||
299 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 299 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); |
300 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | ||
301 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
302 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
300 | neg find scopeDisallowsNewSpacecraft_class(problem, interpretation); | 303 | neg find scopeDisallowsNewSpacecraft_class(problem, interpretation); |
301 | neg find isPrimitive(element); | 304 | neg find isPrimitive(element); |
302 | } or | 305 | } or |
303 | { find mustInstanceOfSpacecraft_class(problem,interpretation,element); } | 306 | { find mustInstanceOfSpacecraft_class(problem,interpretation,element); } |
304 | /** | 307 | /** |
305 | * An element must be an instance of type "CubeSat3U class". | 308 | * An element must be an instance of type "CommSubsystem class". |
306 | */ | 309 | */ |
307 | private pattern mustInstanceOfCubeSat3U_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { | 310 | private pattern mustInstanceOfCommSubsystem_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { |
308 | Type.name(type,"CubeSat3U class"); | 311 | Type.name(type,"CommSubsystem class"); |
309 | find directInstanceOf(problem,interpretation,element,type); | 312 | find directInstanceOf(problem,interpretation,element,type); |
310 | } | 313 | } |
311 | private pattern scopeDisallowsNewCubeSat3U_class(problem:LogicProblem, interpretation:PartialInterpretation) { | 314 | private pattern scopeDisallowsNewCommSubsystem_class(problem:LogicProblem, interpretation:PartialInterpretation) { |
312 | find interpretation(problem,interpretation); | 315 | find interpretation(problem,interpretation); |
313 | PartialInterpretation.scopes(interpretation,scope); | 316 | PartialInterpretation.scopes(interpretation,scope); |
314 | Scope.targetTypeInterpretation(scope,typeInterpretation); | 317 | Scope.targetTypeInterpretation(scope,typeInterpretation); |
315 | Scope.maxNewElements(scope,0); | 318 | Scope.maxNewElements(scope,0); |
316 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); | 319 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); |
317 | Type.name(type,"CubeSat3U class"); | 320 | Type.name(type,"CommSubsystem class"); |
318 | } | 321 | } |
319 | 322 | ||
320 | /** | 323 | /** |
321 | * An element may be an instance of type "CubeSat3U class". | 324 | * An element may be an instance of type "CommSubsystem class". |
322 | */ | 325 | */ |
323 | private pattern mayInstanceOfCubeSat3U_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) | 326 | private pattern mayInstanceOfCommSubsystem_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) |
324 | { | 327 | { |
325 | find interpretation(problem,interpretation); | 328 | find interpretation(problem,interpretation); |
326 | PartialInterpretation.newElements(interpretation,element); | 329 | PartialInterpretation.newElements(interpretation,element); |
327 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
328 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
329 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
330 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
331 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 330 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
331 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
332 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 332 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
333 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 333 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); |
334 | neg find scopeDisallowsNewCubeSat3U_class(problem, interpretation); | 334 | neg find mustInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,element); |
335 | neg find scopeDisallowsNewCommSubsystem_class(problem, interpretation); | ||
335 | neg find isPrimitive(element); | 336 | neg find isPrimitive(element); |
336 | } or { | 337 | } or { |
337 | find interpretation(problem,interpretation); | 338 | find interpretation(problem,interpretation); |
338 | PartialInterpretation.openWorldElements(interpretation,element); | 339 | PartialInterpretation.openWorldElements(interpretation,element); |
339 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
340 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
341 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
342 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
343 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 340 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
341 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
344 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 342 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
345 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 343 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); |
346 | neg find scopeDisallowsNewCubeSat3U_class(problem, interpretation); | 344 | neg find mustInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,element); |
345 | neg find scopeDisallowsNewCommSubsystem_class(problem, interpretation); | ||
347 | neg find isPrimitive(element); | 346 | neg find isPrimitive(element); |
348 | } or | 347 | } or |
349 | { find mustInstanceOfCubeSat3U_class(problem,interpretation,element); } | 348 | { find mustInstanceOfCommSubsystem_class(problem,interpretation,element); } |
350 | /** | 349 | /** |
351 | * An element must be an instance of type "CubeSat6U class". | 350 | * An element must be an instance of type "DirectedCommunicationLink class". |
352 | */ | 351 | */ |
353 | private pattern mustInstanceOfCubeSat6U_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { | 352 | private pattern mustInstanceOfDirectedCommunicationLink_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { |
354 | Type.name(type,"CubeSat6U class"); | 353 | Type.name(type,"DirectedCommunicationLink class"); |
355 | find directInstanceOf(problem,interpretation,element,type); | 354 | find directInstanceOf(problem,interpretation,element,type); |
356 | } | 355 | } |
357 | private pattern scopeDisallowsNewCubeSat6U_class(problem:LogicProblem, interpretation:PartialInterpretation) { | 356 | private pattern scopeDisallowsNewDirectedCommunicationLink_class(problem:LogicProblem, interpretation:PartialInterpretation) { |
358 | find interpretation(problem,interpretation); | 357 | find interpretation(problem,interpretation); |
359 | PartialInterpretation.scopes(interpretation,scope); | 358 | PartialInterpretation.scopes(interpretation,scope); |
360 | Scope.targetTypeInterpretation(scope,typeInterpretation); | 359 | Scope.targetTypeInterpretation(scope,typeInterpretation); |
361 | Scope.maxNewElements(scope,0); | 360 | Scope.maxNewElements(scope,0); |
362 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); | 361 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); |
363 | Type.name(type,"CubeSat6U class"); | 362 | Type.name(type,"DirectedCommunicationLink class"); |
364 | } | 363 | } |
365 | 364 | ||
366 | /** | 365 | /** |
367 | * An element may be an instance of type "CubeSat6U class". | 366 | * An element may be an instance of type "DirectedCommunicationLink class". |
368 | */ | 367 | */ |
369 | private pattern mayInstanceOfCubeSat6U_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) | 368 | private pattern mayInstanceOfDirectedCommunicationLink_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) |
370 | { | 369 | { |
371 | find interpretation(problem,interpretation); | 370 | find interpretation(problem,interpretation); |
372 | PartialInterpretation.newElements(interpretation,element); | 371 | PartialInterpretation.newElements(interpretation,element); |
373 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
374 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | 372 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
375 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
376 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
377 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
378 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 373 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
379 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 374 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
380 | neg find scopeDisallowsNewCubeSat6U_class(problem, interpretation); | 375 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); |
376 | neg find scopeDisallowsNewDirectedCommunicationLink_class(problem, interpretation); | ||
381 | neg find isPrimitive(element); | 377 | neg find isPrimitive(element); |
382 | } or { | 378 | } or { |
383 | find interpretation(problem,interpretation); | 379 | find interpretation(problem,interpretation); |
384 | PartialInterpretation.openWorldElements(interpretation,element); | 380 | PartialInterpretation.openWorldElements(interpretation,element); |
385 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
386 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | 381 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
387 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
388 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
389 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
390 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 382 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
391 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 383 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
392 | neg find scopeDisallowsNewCubeSat6U_class(problem, interpretation); | 384 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); |
385 | neg find scopeDisallowsNewDirectedCommunicationLink_class(problem, interpretation); | ||
393 | neg find isPrimitive(element); | 386 | neg find isPrimitive(element); |
394 | } or | 387 | } or |
395 | { find mustInstanceOfCubeSat6U_class(problem,interpretation,element); } | 388 | { find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); } |
396 | /** | 389 | /** |
397 | * An element must be an instance of type "SmallSat class". | 390 | * An element must be an instance of type "Payload class". |
398 | */ | 391 | */ |
399 | private pattern mustInstanceOfSmallSat_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { | 392 | private pattern mustInstanceOfPayload_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { |
400 | Type.name(type,"SmallSat class"); | 393 | Type.name(type,"Payload class"); |
401 | find directInstanceOf(problem,interpretation,element,type); | 394 | find directInstanceOf(problem,interpretation,element,type); |
402 | } | 395 | } |
403 | private pattern scopeDisallowsNewSmallSat_class(problem:LogicProblem, interpretation:PartialInterpretation) { | 396 | private pattern scopeDisallowsNewPayload_class(problem:LogicProblem, interpretation:PartialInterpretation) { |
404 | find interpretation(problem,interpretation); | 397 | find interpretation(problem,interpretation); |
405 | PartialInterpretation.scopes(interpretation,scope); | 398 | PartialInterpretation.scopes(interpretation,scope); |
406 | Scope.targetTypeInterpretation(scope,typeInterpretation); | 399 | Scope.targetTypeInterpretation(scope,typeInterpretation); |
407 | Scope.maxNewElements(scope,0); | 400 | Scope.maxNewElements(scope,0); |
408 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); | 401 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); |
409 | Type.name(type,"SmallSat class"); | 402 | Type.name(type,"Payload class"); |
410 | } | 403 | } |
411 | 404 | ||
412 | /** | 405 | /** |
413 | * An element may be an instance of type "SmallSat class". | 406 | * An element may be an instance of type "Payload class". |
414 | */ | 407 | */ |
415 | private pattern mayInstanceOfSmallSat_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) | 408 | private pattern mayInstanceOfPayload_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) |
416 | { | 409 | { |
417 | find interpretation(problem,interpretation); | 410 | find interpretation(problem,interpretation); |
418 | PartialInterpretation.newElements(interpretation,element); | 411 | PartialInterpretation.newElements(interpretation,element); |
419 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
420 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
421 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
422 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
423 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 412 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
424 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 413 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
425 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 414 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
426 | neg find scopeDisallowsNewSmallSat_class(problem, interpretation); | 415 | neg find mustInstanceOfInterferometryPayload_class(problem,interpretation,element); |
416 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
417 | neg find scopeDisallowsNewPayload_class(problem, interpretation); | ||
427 | neg find isPrimitive(element); | 418 | neg find isPrimitive(element); |
428 | } or { | 419 | } or { |
429 | find interpretation(problem,interpretation); | 420 | find interpretation(problem,interpretation); |
430 | PartialInterpretation.openWorldElements(interpretation,element); | 421 | PartialInterpretation.openWorldElements(interpretation,element); |
431 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
432 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
433 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
434 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
435 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 422 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
436 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 423 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
437 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 424 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
438 | neg find scopeDisallowsNewSmallSat_class(problem, interpretation); | 425 | neg find mustInstanceOfInterferometryPayload_class(problem,interpretation,element); |
426 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
427 | neg find scopeDisallowsNewPayload_class(problem, interpretation); | ||
439 | neg find isPrimitive(element); | 428 | neg find isPrimitive(element); |
440 | } or | 429 | } or |
441 | { find mustInstanceOfSmallSat_class(problem,interpretation,element); } | 430 | { find mustInstanceOfPayload_class(problem,interpretation,element); } |
442 | /** | 431 | /** |
443 | * An element must be an instance of type "CommSubsystem class". | 432 | * An element must be an instance of type "InterferometryPayload class". |
444 | */ | 433 | */ |
445 | private pattern mustInstanceOfCommSubsystem_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { | 434 | private pattern mustInstanceOfInterferometryPayload_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { |
446 | Type.name(type,"CommSubsystem class"); | 435 | Type.name(type,"InterferometryPayload class"); |
447 | find directInstanceOf(problem,interpretation,element,type); | 436 | find directInstanceOf(problem,interpretation,element,type); |
448 | } | 437 | } |
449 | private pattern scopeDisallowsNewCommSubsystem_class(problem:LogicProblem, interpretation:PartialInterpretation) { | 438 | private pattern scopeDisallowsNewInterferometryPayload_class(problem:LogicProblem, interpretation:PartialInterpretation) { |
450 | find interpretation(problem,interpretation); | 439 | find interpretation(problem,interpretation); |
451 | PartialInterpretation.scopes(interpretation,scope); | 440 | PartialInterpretation.scopes(interpretation,scope); |
452 | Scope.targetTypeInterpretation(scope,typeInterpretation); | 441 | Scope.targetTypeInterpretation(scope,typeInterpretation); |
453 | Scope.maxNewElements(scope,0); | 442 | Scope.maxNewElements(scope,0); |
454 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); | 443 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); |
455 | Type.name(type,"CommSubsystem class"); | 444 | Type.name(type,"InterferometryPayload class"); |
456 | } | 445 | } |
457 | 446 | ||
458 | /** | 447 | /** |
459 | * An element may be an instance of type "CommSubsystem class". | 448 | * An element may be an instance of type "InterferometryPayload class". |
460 | */ | 449 | */ |
461 | private pattern mayInstanceOfCommSubsystem_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) | 450 | private pattern mayInstanceOfInterferometryPayload_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) |
462 | { | 451 | { |
463 | find interpretation(problem,interpretation); | 452 | find interpretation(problem,interpretation); |
464 | PartialInterpretation.newElements(interpretation,element); | 453 | PartialInterpretation.newElements(interpretation,element); |
465 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
466 | neg find mustInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,element); | ||
467 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
468 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 454 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
469 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 455 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
470 | neg find scopeDisallowsNewCommSubsystem_class(problem, interpretation); | 456 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); |
457 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
458 | neg find scopeDisallowsNewInterferometryPayload_class(problem, interpretation); | ||
471 | neg find isPrimitive(element); | 459 | neg find isPrimitive(element); |
472 | } or { | 460 | } or { |
473 | find interpretation(problem,interpretation); | 461 | find interpretation(problem,interpretation); |
474 | PartialInterpretation.openWorldElements(interpretation,element); | 462 | PartialInterpretation.openWorldElements(interpretation,element); |
463 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
464 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | ||
475 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | 465 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); |
476 | neg find mustInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,element); | 466 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
467 | neg find scopeDisallowsNewInterferometryPayload_class(problem, interpretation); | ||
468 | neg find isPrimitive(element); | ||
469 | } or | ||
470 | { find mustInstanceOfInterferometryPayload_class(problem,interpretation,element); } | ||
471 | /** | ||
472 | * An element must be an instance of type "CubeSat3U class". | ||
473 | */ | ||
474 | private pattern mustInstanceOfCubeSat3U_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { | ||
475 | Type.name(type,"CubeSat3U class"); | ||
476 | find directInstanceOf(problem,interpretation,element,type); | ||
477 | } | ||
478 | private pattern scopeDisallowsNewCubeSat3U_class(problem:LogicProblem, interpretation:PartialInterpretation) { | ||
479 | find interpretation(problem,interpretation); | ||
480 | PartialInterpretation.scopes(interpretation,scope); | ||
481 | Scope.targetTypeInterpretation(scope,typeInterpretation); | ||
482 | Scope.maxNewElements(scope,0); | ||
483 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); | ||
484 | Type.name(type,"CubeSat3U class"); | ||
485 | } | ||
486 | |||
487 | /** | ||
488 | * An element may be an instance of type "CubeSat3U class". | ||
489 | */ | ||
490 | private pattern mayInstanceOfCubeSat3U_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) | ||
491 | { | ||
492 | find interpretation(problem,interpretation); | ||
493 | PartialInterpretation.newElements(interpretation,element); | ||
494 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
477 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | 495 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
496 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | ||
497 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | ||
498 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
499 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
500 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
501 | neg find scopeDisallowsNewCubeSat3U_class(problem, interpretation); | ||
502 | neg find isPrimitive(element); | ||
503 | } or { | ||
504 | find interpretation(problem,interpretation); | ||
505 | PartialInterpretation.openWorldElements(interpretation,element); | ||
478 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 506 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
507 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
508 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | ||
479 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 509 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
480 | neg find scopeDisallowsNewCommSubsystem_class(problem, interpretation); | 510 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
511 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
512 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
513 | neg find scopeDisallowsNewCubeSat3U_class(problem, interpretation); | ||
481 | neg find isPrimitive(element); | 514 | neg find isPrimitive(element); |
482 | } or | 515 | } or |
483 | { find mustInstanceOfCommSubsystem_class(problem,interpretation,element); } | 516 | { find mustInstanceOfCubeSat3U_class(problem,interpretation,element); } |
484 | /** | 517 | /** |
485 | * An element must be an instance of type "DirectedCommunicationLink class". | 518 | * An element must be an instance of type "CubeSat6U class". |
486 | */ | 519 | */ |
487 | private pattern mustInstanceOfDirectedCommunicationLink_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { | 520 | private pattern mustInstanceOfCubeSat6U_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { |
488 | Type.name(type,"DirectedCommunicationLink class"); | 521 | Type.name(type,"CubeSat6U class"); |
489 | find directInstanceOf(problem,interpretation,element,type); | 522 | find directInstanceOf(problem,interpretation,element,type); |
490 | } | 523 | } |
491 | private pattern scopeDisallowsNewDirectedCommunicationLink_class(problem:LogicProblem, interpretation:PartialInterpretation) { | 524 | private pattern scopeDisallowsNewCubeSat6U_class(problem:LogicProblem, interpretation:PartialInterpretation) { |
492 | find interpretation(problem,interpretation); | 525 | find interpretation(problem,interpretation); |
493 | PartialInterpretation.scopes(interpretation,scope); | 526 | PartialInterpretation.scopes(interpretation,scope); |
494 | Scope.targetTypeInterpretation(scope,typeInterpretation); | 527 | Scope.targetTypeInterpretation(scope,typeInterpretation); |
495 | Scope.maxNewElements(scope,0); | 528 | Scope.maxNewElements(scope,0); |
496 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); | 529 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); |
497 | Type.name(type,"DirectedCommunicationLink class"); | 530 | Type.name(type,"CubeSat6U class"); |
498 | } | 531 | } |
499 | 532 | ||
500 | /** | 533 | /** |
501 | * An element may be an instance of type "DirectedCommunicationLink class". | 534 | * An element may be an instance of type "CubeSat6U class". |
502 | */ | 535 | */ |
503 | private pattern mayInstanceOfDirectedCommunicationLink_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) | 536 | private pattern mayInstanceOfCubeSat6U_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) |
504 | { | 537 | { |
505 | find interpretation(problem,interpretation); | 538 | find interpretation(problem,interpretation); |
506 | PartialInterpretation.newElements(interpretation,element); | 539 | PartialInterpretation.newElements(interpretation,element); |
507 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | 540 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
508 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
509 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | 541 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
510 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 542 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
511 | neg find scopeDisallowsNewDirectedCommunicationLink_class(problem, interpretation); | 543 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); |
544 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
545 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
546 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
547 | neg find scopeDisallowsNewCubeSat6U_class(problem, interpretation); | ||
512 | neg find isPrimitive(element); | 548 | neg find isPrimitive(element); |
513 | } or { | 549 | } or { |
514 | find interpretation(problem,interpretation); | 550 | find interpretation(problem,interpretation); |
515 | PartialInterpretation.openWorldElements(interpretation,element); | 551 | PartialInterpretation.openWorldElements(interpretation,element); |
516 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | 552 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
517 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
518 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | 553 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
519 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 554 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
520 | neg find scopeDisallowsNewDirectedCommunicationLink_class(problem, interpretation); | 555 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); |
556 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
557 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
558 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
559 | neg find scopeDisallowsNewCubeSat6U_class(problem, interpretation); | ||
521 | neg find isPrimitive(element); | 560 | neg find isPrimitive(element); |
522 | } or | 561 | } or |
523 | { find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); } | 562 | { find mustInstanceOfCubeSat6U_class(problem,interpretation,element); } |
524 | /** | 563 | /** |
525 | * An element must be an instance of type "Payload class". | 564 | * An element must be an instance of type "SmallSat class". |
526 | */ | 565 | */ |
527 | private pattern mustInstanceOfPayload_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { | 566 | private pattern mustInstanceOfSmallSat_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { |
528 | Type.name(type,"Payload class"); | 567 | Type.name(type,"SmallSat class"); |
529 | find directInstanceOf(problem,interpretation,element,type); | 568 | find directInstanceOf(problem,interpretation,element,type); |
530 | } | 569 | } |
531 | private pattern scopeDisallowsNewPayload_class(problem:LogicProblem, interpretation:PartialInterpretation) { | 570 | private pattern scopeDisallowsNewSmallSat_class(problem:LogicProblem, interpretation:PartialInterpretation) { |
532 | find interpretation(problem,interpretation); | 571 | find interpretation(problem,interpretation); |
533 | PartialInterpretation.scopes(interpretation,scope); | 572 | PartialInterpretation.scopes(interpretation,scope); |
534 | Scope.targetTypeInterpretation(scope,typeInterpretation); | 573 | Scope.targetTypeInterpretation(scope,typeInterpretation); |
535 | Scope.maxNewElements(scope,0); | 574 | Scope.maxNewElements(scope,0); |
536 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); | 575 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); |
537 | Type.name(type,"Payload class"); | 576 | Type.name(type,"SmallSat class"); |
538 | } | 577 | } |
539 | 578 | ||
540 | /** | 579 | /** |
541 | * An element may be an instance of type "Payload class". | 580 | * An element may be an instance of type "SmallSat class". |
542 | */ | 581 | */ |
543 | private pattern mayInstanceOfPayload_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) | 582 | private pattern mayInstanceOfSmallSat_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) |
544 | { | 583 | { |
545 | find interpretation(problem,interpretation); | 584 | find interpretation(problem,interpretation); |
546 | PartialInterpretation.newElements(interpretation,element); | 585 | PartialInterpretation.newElements(interpretation,element); |
547 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
548 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
549 | neg find mustInstanceOfInterferometryPayload_class(problem,interpretation,element); | ||
550 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 586 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
587 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
588 | neg find mustInstanceOfCubeSat_class(problem,interpretation,element); | ||
589 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | ||
551 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 590 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
552 | neg find scopeDisallowsNewPayload_class(problem, interpretation); | 591 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
592 | neg find scopeDisallowsNewSmallSat_class(problem, interpretation); | ||
553 | neg find isPrimitive(element); | 593 | neg find isPrimitive(element); |
554 | } or { | 594 | } or { |
555 | find interpretation(problem,interpretation); | 595 | find interpretation(problem,interpretation); |
556 | PartialInterpretation.openWorldElements(interpretation,element); | 596 | PartialInterpretation.openWorldElements(interpretation,element); |
557 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
558 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
559 | neg find mustInstanceOfInterferometryPayload_class(problem,interpretation,element); | ||
560 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 597 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
598 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
599 | neg find mustInstanceOfCubeSat_class(problem,interpretation,element); | ||
600 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | ||
561 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 601 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
562 | neg find scopeDisallowsNewPayload_class(problem, interpretation); | 602 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
603 | neg find scopeDisallowsNewSmallSat_class(problem, interpretation); | ||
563 | neg find isPrimitive(element); | 604 | neg find isPrimitive(element); |
564 | } or | 605 | } or |
565 | { find mustInstanceOfPayload_class(problem,interpretation,element); } | 606 | { find mustInstanceOfSmallSat_class(problem,interpretation,element); } |
566 | /** | 607 | /** |
567 | * An element must be an instance of type "InterferometryPayload class". | 608 | * An element must be an instance of type "CubeSat class". |
568 | */ | 609 | */ |
569 | private pattern mustInstanceOfInterferometryPayload_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { | 610 | private pattern mustInstanceOfCubeSat_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { |
570 | Type.name(type,"InterferometryPayload class"); | 611 | Type.name(type,"CubeSat class"); |
571 | find directInstanceOf(problem,interpretation,element,type); | 612 | find directInstanceOf(problem,interpretation,element,type); |
572 | } | 613 | } |
573 | private pattern scopeDisallowsNewInterferometryPayload_class(problem:LogicProblem, interpretation:PartialInterpretation) { | 614 | private pattern scopeDisallowsNewCubeSat_class(problem:LogicProblem, interpretation:PartialInterpretation) { |
574 | find interpretation(problem,interpretation); | 615 | find interpretation(problem,interpretation); |
575 | PartialInterpretation.scopes(interpretation,scope); | 616 | PartialInterpretation.scopes(interpretation,scope); |
576 | Scope.targetTypeInterpretation(scope,typeInterpretation); | 617 | Scope.targetTypeInterpretation(scope,typeInterpretation); |
577 | Scope.maxNewElements(scope,0); | 618 | Scope.maxNewElements(scope,0); |
578 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); | 619 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); |
579 | Type.name(type,"InterferometryPayload class"); | 620 | Type.name(type,"CubeSat class"); |
580 | } | 621 | } |
581 | 622 | ||
582 | /** | 623 | /** |
583 | * An element may be an instance of type "InterferometryPayload class". | 624 | * An element may be an instance of type "CubeSat class". |
584 | */ | 625 | */ |
585 | private pattern mayInstanceOfInterferometryPayload_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) | 626 | private pattern mayInstanceOfCubeSat_class(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) |
586 | { | 627 | { |
587 | find interpretation(problem,interpretation); | 628 | find interpretation(problem,interpretation); |
588 | PartialInterpretation.newElements(interpretation,element); | 629 | PartialInterpretation.newElements(interpretation,element); |
589 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
590 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
591 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 630 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
631 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
592 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 632 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
593 | neg find scopeDisallowsNewInterferometryPayload_class(problem, interpretation); | 633 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); |
634 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
635 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
636 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
637 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
638 | neg find scopeDisallowsNewCubeSat_class(problem, interpretation); | ||
594 | neg find isPrimitive(element); | 639 | neg find isPrimitive(element); |
595 | } or { | 640 | } or { |
596 | find interpretation(problem,interpretation); | 641 | find interpretation(problem,interpretation); |
597 | PartialInterpretation.openWorldElements(interpretation,element); | 642 | PartialInterpretation.openWorldElements(interpretation,element); |
598 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
599 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
600 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 643 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
644 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
601 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 645 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
602 | neg find scopeDisallowsNewInterferometryPayload_class(problem, interpretation); | 646 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); |
647 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
648 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
649 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
650 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
651 | neg find scopeDisallowsNewCubeSat_class(problem, interpretation); | ||
603 | neg find isPrimitive(element); | 652 | neg find isPrimitive(element); |
604 | } or | 653 | } or |
605 | { find mustInstanceOfInterferometryPayload_class(problem,interpretation,element); } | 654 | { find mustInstanceOfCubeSat_class(problem,interpretation,element); } |
606 | /** | 655 | /** |
607 | * An element must be an instance of type "TransceiverBand enum". | 656 | * An element must be an instance of type "TransceiverBand enum". |
608 | */ | 657 | */ |
@@ -646,6 +695,27 @@ private pattern scopeDisallowsNewAntennaGain_enum(problem:LogicProblem, interpre | |||
646 | private pattern mayInstanceOfAntennaGain_enum(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) | 695 | private pattern mayInstanceOfAntennaGain_enum(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) |
647 | { find mustInstanceOfAntennaGain_enum(problem,interpretation,element); } | 696 | { find mustInstanceOfAntennaGain_enum(problem,interpretation,element); } |
648 | /** | 697 | /** |
698 | * An element must be an instance of type "SpacecraftKind enum". | ||
699 | */ | ||
700 | private pattern mustInstanceOfSpacecraftKind_enum(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { | ||
701 | Type.name(type,"SpacecraftKind enum"); | ||
702 | find directInstanceOf(problem,interpretation,element,type); | ||
703 | } | ||
704 | private pattern scopeDisallowsNewSpacecraftKind_enum(problem:LogicProblem, interpretation:PartialInterpretation) { | ||
705 | find interpretation(problem,interpretation); | ||
706 | PartialInterpretation.scopes(interpretation,scope); | ||
707 | Scope.targetTypeInterpretation(scope,typeInterpretation); | ||
708 | Scope.maxNewElements(scope,0); | ||
709 | PartialComplexTypeInterpretation.interpretationOf(typeInterpretation,type); | ||
710 | Type.name(type,"SpacecraftKind enum"); | ||
711 | } | ||
712 | |||
713 | /** | ||
714 | * An element may be an instance of type "SpacecraftKind enum". | ||
715 | */ | ||
716 | private pattern mayInstanceOfSpacecraftKind_enum(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) | ||
717 | { find mustInstanceOfSpacecraftKind_enum(problem,interpretation,element); } | ||
718 | /** | ||
649 | * An element must be an instance of type "ConstellationMission class DefinedPart". | 719 | * An element must be an instance of type "ConstellationMission class DefinedPart". |
650 | */ | 720 | */ |
651 | private pattern mustInstanceOfConstellationMission_class_DefinedPart(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { | 721 | private pattern mustInstanceOfConstellationMission_class_DefinedPart(problem:LogicProblem, interpretation:PartialInterpretation, element:DefinedElement) { |
@@ -689,20 +759,20 @@ private pattern mayInstanceOfConstellationMission_class_UndefinedPart(problem:Lo | |||
689 | { | 759 | { |
690 | find interpretation(problem,interpretation); | 760 | find interpretation(problem,interpretation); |
691 | PartialInterpretation.newElements(interpretation,element); | 761 | PartialInterpretation.newElements(interpretation,element); |
692 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
693 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
694 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
695 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 762 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
763 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
764 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
765 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
696 | neg find mustInstanceOfInterferometryMission_class(problem,interpretation,element); | 766 | neg find mustInstanceOfInterferometryMission_class(problem,interpretation,element); |
697 | neg find scopeDisallowsNewConstellationMission_class_UndefinedPart(problem, interpretation); | 767 | neg find scopeDisallowsNewConstellationMission_class_UndefinedPart(problem, interpretation); |
698 | neg find isPrimitive(element); | 768 | neg find isPrimitive(element); |
699 | } or { | 769 | } or { |
700 | find interpretation(problem,interpretation); | 770 | find interpretation(problem,interpretation); |
701 | PartialInterpretation.openWorldElements(interpretation,element); | 771 | PartialInterpretation.openWorldElements(interpretation,element); |
702 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
703 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
704 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
705 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 772 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
773 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
774 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
775 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
706 | neg find mustInstanceOfInterferometryMission_class(problem,interpretation,element); | 776 | neg find mustInstanceOfInterferometryMission_class(problem,interpretation,element); |
707 | neg find scopeDisallowsNewConstellationMission_class_UndefinedPart(problem, interpretation); | 777 | neg find scopeDisallowsNewConstellationMission_class_UndefinedPart(problem, interpretation); |
708 | neg find isPrimitive(element); | 778 | neg find isPrimitive(element); |
@@ -752,19 +822,19 @@ private pattern mayInstanceOfInterferometryMission_class_UndefinedPart(problem:L | |||
752 | { | 822 | { |
753 | find interpretation(problem,interpretation); | 823 | find interpretation(problem,interpretation); |
754 | PartialInterpretation.newElements(interpretation,element); | 824 | PartialInterpretation.newElements(interpretation,element); |
755 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
756 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
757 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
758 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 825 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
826 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
827 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
828 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
759 | neg find scopeDisallowsNewInterferometryMission_class_UndefinedPart(problem, interpretation); | 829 | neg find scopeDisallowsNewInterferometryMission_class_UndefinedPart(problem, interpretation); |
760 | neg find isPrimitive(element); | 830 | neg find isPrimitive(element); |
761 | } or { | 831 | } or { |
762 | find interpretation(problem,interpretation); | 832 | find interpretation(problem,interpretation); |
763 | PartialInterpretation.openWorldElements(interpretation,element); | 833 | PartialInterpretation.openWorldElements(interpretation,element); |
764 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
765 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
766 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
767 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 834 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
835 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
836 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
837 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
768 | neg find scopeDisallowsNewInterferometryMission_class_UndefinedPart(problem, interpretation); | 838 | neg find scopeDisallowsNewInterferometryMission_class_UndefinedPart(problem, interpretation); |
769 | neg find isPrimitive(element); | 839 | neg find isPrimitive(element); |
770 | } or | 840 | } or |
@@ -813,23 +883,23 @@ private pattern mayInstanceOfCommunicatingElement_class_UndefinedPart(problem:Lo | |||
813 | { | 883 | { |
814 | find interpretation(problem,interpretation); | 884 | find interpretation(problem,interpretation); |
815 | PartialInterpretation.newElements(interpretation,element); | 885 | PartialInterpretation.newElements(interpretation,element); |
816 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
817 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
818 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 886 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
819 | neg find mustInstanceOfSpacecraft_class(problem,interpretation,element); | 887 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
820 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 888 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
821 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 889 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); |
890 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
891 | neg find mustInstanceOfSpacecraft_class(problem,interpretation,element); | ||
822 | neg find scopeDisallowsNewCommunicatingElement_class_UndefinedPart(problem, interpretation); | 892 | neg find scopeDisallowsNewCommunicatingElement_class_UndefinedPart(problem, interpretation); |
823 | neg find isPrimitive(element); | 893 | neg find isPrimitive(element); |
824 | } or { | 894 | } or { |
825 | find interpretation(problem,interpretation); | 895 | find interpretation(problem,interpretation); |
826 | PartialInterpretation.openWorldElements(interpretation,element); | 896 | PartialInterpretation.openWorldElements(interpretation,element); |
827 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
828 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
829 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 897 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
830 | neg find mustInstanceOfSpacecraft_class(problem,interpretation,element); | 898 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
831 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 899 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
832 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 900 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); |
901 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
902 | neg find mustInstanceOfSpacecraft_class(problem,interpretation,element); | ||
833 | neg find scopeDisallowsNewCommunicatingElement_class_UndefinedPart(problem, interpretation); | 903 | neg find scopeDisallowsNewCommunicatingElement_class_UndefinedPart(problem, interpretation); |
834 | neg find isPrimitive(element); | 904 | neg find isPrimitive(element); |
835 | } or | 905 | } or |
@@ -878,21 +948,21 @@ private pattern mayInstanceOfGroundStationNetwork_class_UndefinedPart(problem:Lo | |||
878 | { | 948 | { |
879 | find interpretation(problem,interpretation); | 949 | find interpretation(problem,interpretation); |
880 | PartialInterpretation.newElements(interpretation,element); | 950 | PartialInterpretation.newElements(interpretation,element); |
881 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
882 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
883 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 951 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
884 | neg find mustInstanceOfSpacecraft_class(problem,interpretation,element); | 952 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
885 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 953 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
954 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
955 | neg find mustInstanceOfSpacecraft_class(problem,interpretation,element); | ||
886 | neg find scopeDisallowsNewGroundStationNetwork_class_UndefinedPart(problem, interpretation); | 956 | neg find scopeDisallowsNewGroundStationNetwork_class_UndefinedPart(problem, interpretation); |
887 | neg find isPrimitive(element); | 957 | neg find isPrimitive(element); |
888 | } or { | 958 | } or { |
889 | find interpretation(problem,interpretation); | 959 | find interpretation(problem,interpretation); |
890 | PartialInterpretation.openWorldElements(interpretation,element); | 960 | PartialInterpretation.openWorldElements(interpretation,element); |
891 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
892 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
893 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 961 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
894 | neg find mustInstanceOfSpacecraft_class(problem,interpretation,element); | 962 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
895 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 963 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
964 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
965 | neg find mustInstanceOfSpacecraft_class(problem,interpretation,element); | ||
896 | neg find scopeDisallowsNewGroundStationNetwork_class_UndefinedPart(problem, interpretation); | 966 | neg find scopeDisallowsNewGroundStationNetwork_class_UndefinedPart(problem, interpretation); |
897 | neg find isPrimitive(element); | 967 | neg find isPrimitive(element); |
898 | } or | 968 | } or |
@@ -941,19 +1011,19 @@ private pattern mayInstanceOfCommSubsystem_class_UndefinedPart(problem:LogicProb | |||
941 | { | 1011 | { |
942 | find interpretation(problem,interpretation); | 1012 | find interpretation(problem,interpretation); |
943 | PartialInterpretation.newElements(interpretation,element); | 1013 | PartialInterpretation.newElements(interpretation,element); |
944 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
945 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
946 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 1014 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
1015 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
947 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 1016 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
1017 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
948 | neg find scopeDisallowsNewCommSubsystem_class_UndefinedPart(problem, interpretation); | 1018 | neg find scopeDisallowsNewCommSubsystem_class_UndefinedPart(problem, interpretation); |
949 | neg find isPrimitive(element); | 1019 | neg find isPrimitive(element); |
950 | } or { | 1020 | } or { |
951 | find interpretation(problem,interpretation); | 1021 | find interpretation(problem,interpretation); |
952 | PartialInterpretation.openWorldElements(interpretation,element); | 1022 | PartialInterpretation.openWorldElements(interpretation,element); |
953 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
954 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
955 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 1023 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
1024 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
956 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 1025 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
1026 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
957 | neg find scopeDisallowsNewCommSubsystem_class_UndefinedPart(problem, interpretation); | 1027 | neg find scopeDisallowsNewCommSubsystem_class_UndefinedPart(problem, interpretation); |
958 | neg find isPrimitive(element); | 1028 | neg find isPrimitive(element); |
959 | } or | 1029 | } or |
@@ -1233,6 +1303,24 @@ private pattern mayInRelationtarget_reference_DirectedCommunicationLink( | |||
1233 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,source,target); | 1303 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,source,target); |
1234 | } | 1304 | } |
1235 | /** | 1305 | /** |
1306 | * Matcher for detecting tuples t where []kind attribute Spacecraft(source,target) | ||
1307 | */ | ||
1308 | private pattern mustInRelationkind_attribute_Spacecraft( | ||
1309 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1310 | source: DefinedElement, target:DefinedElement) | ||
1311 | { | ||
1312 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftOfKind(problem,interpretation,source,target); | ||
1313 | } | ||
1314 | /** | ||
1315 | * Matcher for detecting tuples t where []kind attribute Spacecraft(source,target) | ||
1316 | */ | ||
1317 | private pattern mayInRelationkind_attribute_Spacecraft( | ||
1318 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1319 | source: DefinedElement, target:DefinedElement) | ||
1320 | { | ||
1321 | find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftOfKind(problem,interpretation,source,target); | ||
1322 | } | ||
1323 | /** | ||
1236 | * Matcher for detecting tuples t where []band attribute CommSubsystem(source,target) | 1324 | * Matcher for detecting tuples t where []band attribute CommSubsystem(source,target) |
1237 | */ | 1325 | */ |
1238 | private pattern mustInRelationband_attribute_CommSubsystem( | 1326 | private pattern mustInRelationband_attribute_CommSubsystem( |
@@ -1317,15 +1405,15 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
1317 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Element); | 1405 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Element); |
1318 | find mustInRelationcommunicationLink_reference_CommunicatingElement(problem,interpretation,var_Element,var_virtual0); | 1406 | find mustInRelationcommunicationLink_reference_CommunicatingElement(problem,interpretation,var_Element,var_virtual0); |
1319 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_virtual0); | 1407 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_virtual0); |
1320 | var_virtual0 == var_Link; | 1408 | find mustEquivalent(problem, interpretation, var_virtual0, var_Link); |
1321 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 1409 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1322 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); | 1410 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); |
1323 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); | 1411 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); |
1324 | var_virtual1 == var_SourceComm; | 1412 | find mustEquivalent(problem, interpretation, var_virtual1, var_SourceComm); |
1325 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_SourceElement); | 1413 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_SourceElement); |
1326 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_SourceElement,var_virtual2); | 1414 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_SourceElement,var_virtual2); |
1327 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); | 1415 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); |
1328 | var_virtual2 == var_SourceComm; | 1416 | find mustEquivalent(problem, interpretation, var_virtual2, var_SourceComm); |
1329 | neg find mayEquivalent(problem, interpretation, var_Element, var_SourceElement); | 1417 | neg find mayEquivalent(problem, interpretation, var_Element, var_SourceElement); |
1330 | } | 1418 | } |
1331 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLinkDoesNotStartAtContainingElement( | 1419 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLinkDoesNotStartAtContainingElement( |
@@ -1347,7 +1435,7 @@ private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satelli | |||
1347 | find mayInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_SourceElement,var_virtual2); | 1435 | find mayInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_SourceElement,var_virtual2); |
1348 | find mayInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); | 1436 | find mayInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); |
1349 | find mayEquivalent(problem, interpretation, var_virtual2, var_SourceComm); | 1437 | find mayEquivalent(problem, interpretation, var_virtual2, var_SourceComm); |
1350 | var_Element != var_SourceElement; | 1438 | neg find mustEquivalent(problem, interpretation, var_Element, var_SourceElement); |
1351 | } | 1439 | } |
1352 | private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLinkDoesNotStartAtContainingElement( | 1440 | private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLinkDoesNotStartAtContainingElement( |
1353 | problem:LogicProblem, interpretation:PartialInterpretation, | 1441 | problem:LogicProblem, interpretation:PartialInterpretation, |
@@ -1359,16 +1447,16 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
1359 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Element); | 1447 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Element); |
1360 | find mustInRelationcommunicationLink_reference_CommunicatingElement(problem,interpretation,var_Element,var_virtual0); | 1448 | find mustInRelationcommunicationLink_reference_CommunicatingElement(problem,interpretation,var_Element,var_virtual0); |
1361 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_virtual0); | 1449 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_virtual0); |
1362 | var_virtual0 == var_Link; | 1450 | find mustEquivalent(problem, interpretation, var_virtual0, var_Link); |
1363 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 1451 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1364 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); | 1452 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); |
1365 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); | 1453 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); |
1366 | var_virtual1 == var_SourceComm; | 1454 | find mustEquivalent(problem, interpretation, var_virtual1, var_SourceComm); |
1367 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_SourceElement); | 1455 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_SourceElement); |
1368 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_SourceElement,var_virtual2); | 1456 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_SourceElement,var_virtual2); |
1369 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); | 1457 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); |
1370 | var_virtual2 == var_SourceComm; | 1458 | find mustEquivalent(problem, interpretation, var_virtual2, var_SourceComm); |
1371 | var_Element != var_SourceElement; | 1459 | neg find mustEquivalent(problem, interpretation, var_Element, var_SourceElement); |
1372 | } | 1460 | } |
1373 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries notEnoughInterferometryPayloads | 1461 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries notEnoughInterferometryPayloads |
1374 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_notEnoughInterferometryPayloads( | 1462 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_notEnoughInterferometryPayloads( |
@@ -1422,7 +1510,7 @@ private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satelli | |||
1422 | // Mission is exported | 1510 | // Mission is exported |
1423 | find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftWithInterferometryPayload(problem,interpretation,var_Mission,var_Spacecraft1); | 1511 | find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftWithInterferometryPayload(problem,interpretation,var_Mission,var_Spacecraft1); |
1424 | find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftWithInterferometryPayload(problem,interpretation,var_Mission,var_Spacecraft2); | 1512 | find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftWithInterferometryPayload(problem,interpretation,var_Mission,var_Spacecraft2); |
1425 | var_Spacecraft1 != var_Spacecraft2; | 1513 | neg find mustEquivalent(problem, interpretation, var_Spacecraft1, var_Spacecraft2); |
1426 | } | 1514 | } |
1427 | private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_atLeastTwoInterferometryPayloads( | 1515 | private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_atLeastTwoInterferometryPayloads( |
1428 | problem:LogicProblem, interpretation:PartialInterpretation, | 1516 | problem:LogicProblem, interpretation:PartialInterpretation, |
@@ -1433,7 +1521,7 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
1433 | // Mission is exported | 1521 | // Mission is exported |
1434 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftWithInterferometryPayload(problem,interpretation,var_Mission,var_Spacecraft1); | 1522 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftWithInterferometryPayload(problem,interpretation,var_Mission,var_Spacecraft1); |
1435 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftWithInterferometryPayload(problem,interpretation,var_Mission,var_Spacecraft2); | 1523 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftWithInterferometryPayload(problem,interpretation,var_Mission,var_Spacecraft2); |
1436 | var_Spacecraft1 != var_Spacecraft2; | 1524 | neg find mustEquivalent(problem, interpretation, var_Spacecraft1, var_Spacecraft2); |
1437 | } | 1525 | } |
1438 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries spacecraftWithInterferometryPayload | 1526 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries spacecraftWithInterferometryPayload |
1439 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftWithInterferometryPayload( | 1527 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftWithInterferometryPayload( |
@@ -1448,11 +1536,11 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
1448 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); | 1536 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); |
1449 | find mustInRelationspacecraft_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual0); | 1537 | find mustInRelationspacecraft_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual0); |
1450 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_virtual0); | 1538 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_virtual0); |
1451 | var_virtual0 == var_Spacecraft; | 1539 | find mustEquivalent(problem, interpretation, var_virtual0, var_Spacecraft); |
1452 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | 1540 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); |
1453 | find mustInRelationpayload_reference_Spacecraft(problem,interpretation,var_Spacecraft,var_virtual1); | 1541 | find mustInRelationpayload_reference_Spacecraft(problem,interpretation,var_Spacecraft,var_virtual1); |
1454 | find mustInstanceOfPayload_class(problem,interpretation,var_virtual1); | 1542 | find mustInstanceOfPayload_class(problem,interpretation,var_virtual1); |
1455 | var_virtual1 == var_Payload; | 1543 | find mustEquivalent(problem, interpretation, var_virtual1, var_Payload); |
1456 | find mustInstanceOfInterferometryPayload_class(problem,interpretation,var_Payload); | 1544 | find mustInstanceOfInterferometryPayload_class(problem,interpretation,var_Payload); |
1457 | } | 1545 | } |
1458 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftWithInterferometryPayload( | 1546 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftWithInterferometryPayload( |
@@ -1486,11 +1574,11 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
1486 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); | 1574 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); |
1487 | find mustInRelationspacecraft_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual0); | 1575 | find mustInRelationspacecraft_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual0); |
1488 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_virtual0); | 1576 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_virtual0); |
1489 | var_virtual0 == var_Spacecraft; | 1577 | find mustEquivalent(problem, interpretation, var_virtual0, var_Spacecraft); |
1490 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | 1578 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); |
1491 | find mustInRelationpayload_reference_Spacecraft(problem,interpretation,var_Spacecraft,var_virtual1); | 1579 | find mustInRelationpayload_reference_Spacecraft(problem,interpretation,var_Spacecraft,var_virtual1); |
1492 | find mustInstanceOfPayload_class(problem,interpretation,var_virtual1); | 1580 | find mustInstanceOfPayload_class(problem,interpretation,var_virtual1); |
1493 | var_virtual1 == var_Payload; | 1581 | find mustEquivalent(problem, interpretation, var_virtual1, var_Payload); |
1494 | find mustInstanceOfInterferometryPayload_class(problem,interpretation,var_Payload); | 1582 | find mustInstanceOfInterferometryPayload_class(problem,interpretation,var_Payload); |
1495 | } | 1583 | } |
1496 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries noLinkToGroundStation | 1584 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries noLinkToGroundStation |
@@ -1504,11 +1592,11 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
1504 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); | 1592 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); |
1505 | find mustInRelationgroundStationNetwork_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual0); | 1593 | find mustInRelationgroundStationNetwork_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual0); |
1506 | find mustInstanceOfGroundStationNetwork_class(problem,interpretation,var_virtual0); | 1594 | find mustInstanceOfGroundStationNetwork_class(problem,interpretation,var_virtual0); |
1507 | var_virtual0 == var_GroundStation; | 1595 | find mustEquivalent(problem, interpretation, var_virtual0, var_GroundStation); |
1508 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); | 1596 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); |
1509 | find mustInRelationspacecraft_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual1); | 1597 | find mustInRelationspacecraft_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual1); |
1510 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_virtual1); | 1598 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_virtual1); |
1511 | var_virtual1 == var_Spacecraft; | 1599 | find mustEquivalent(problem, interpretation, var_virtual1, var_Spacecraft); |
1512 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_indirectCommunicationLink(problem,interpretation,var_Spacecraft,var_GroundStation); | 1600 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_indirectCommunicationLink(problem,interpretation,var_Spacecraft,var_GroundStation); |
1513 | } | 1601 | } |
1514 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noLinkToGroundStation( | 1602 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noLinkToGroundStation( |
@@ -1538,13 +1626,336 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
1538 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); | 1626 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); |
1539 | find mustInRelationgroundStationNetwork_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual0); | 1627 | find mustInRelationgroundStationNetwork_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual0); |
1540 | find mustInstanceOfGroundStationNetwork_class(problem,interpretation,var_virtual0); | 1628 | find mustInstanceOfGroundStationNetwork_class(problem,interpretation,var_virtual0); |
1541 | var_virtual0 == var_GroundStation; | 1629 | find mustEquivalent(problem, interpretation, var_virtual0, var_GroundStation); |
1542 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); | 1630 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); |
1543 | find mustInRelationspacecraft_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual1); | 1631 | find mustInRelationspacecraft_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual1); |
1544 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_virtual1); | 1632 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_virtual1); |
1545 | var_virtual1 == var_Spacecraft; | 1633 | find mustEquivalent(problem, interpretation, var_virtual1, var_Spacecraft); |
1546 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_indirectCommunicationLink(problem,interpretation,var_Spacecraft,var_GroundStation); | 1634 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_indirectCommunicationLink(problem,interpretation,var_Spacecraft,var_GroundStation); |
1547 | } | 1635 | } |
1636 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries noPotentialLinkToGroundStation | ||
1637 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noPotentialLinkToGroundStation( | ||
1638 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1639 | var_Spacecraft) | ||
1640 | { | ||
1641 | find interpretation(problem,interpretation); | ||
1642 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | ||
1643 | // Spacecraft is exported | ||
1644 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); | ||
1645 | find mustInRelationgroundStationNetwork_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual0); | ||
1646 | find mustInstanceOfGroundStationNetwork_class(problem,interpretation,var_virtual0); | ||
1647 | find mustEquivalent(problem, interpretation, var_virtual0, var_GroundStation); | ||
1648 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); | ||
1649 | find mustInRelationspacecraft_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual1); | ||
1650 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_virtual1); | ||
1651 | find mustEquivalent(problem, interpretation, var_virtual1, var_Spacecraft); | ||
1652 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_indirectLinkAllowed(problem,interpretation,var_Spacecraft,var_GroundStation); | ||
1653 | } | ||
1654 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noPotentialLinkToGroundStation( | ||
1655 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1656 | var_Spacecraft) | ||
1657 | { | ||
1658 | find interpretation(problem,interpretation); | ||
1659 | find mayInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | ||
1660 | // Spacecraft is exported | ||
1661 | find mayInstanceOfConstellationMission_class(problem,interpretation,var_Mission); | ||
1662 | find mayInRelationgroundStationNetwork_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual0); | ||
1663 | find mayInstanceOfGroundStationNetwork_class(problem,interpretation,var_virtual0); | ||
1664 | find mayEquivalent(problem, interpretation, var_virtual0, var_GroundStation); | ||
1665 | find mayInstanceOfConstellationMission_class(problem,interpretation,var_Mission); | ||
1666 | find mayInRelationspacecraft_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual1); | ||
1667 | find mayInstanceOfSpacecraft_class(problem,interpretation,var_virtual1); | ||
1668 | find mayEquivalent(problem, interpretation, var_virtual1, var_Spacecraft); | ||
1669 | neg find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_indirectLinkAllowed(problem,interpretation,var_Spacecraft,var_GroundStation); | ||
1670 | } | ||
1671 | private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noPotentialLinkToGroundStation( | ||
1672 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1673 | var_Spacecraft) | ||
1674 | { | ||
1675 | find interpretation(problem,interpretation); | ||
1676 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | ||
1677 | // Spacecraft is exported | ||
1678 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); | ||
1679 | find mustInRelationgroundStationNetwork_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual0); | ||
1680 | find mustInstanceOfGroundStationNetwork_class(problem,interpretation,var_virtual0); | ||
1681 | find mustEquivalent(problem, interpretation, var_virtual0, var_GroundStation); | ||
1682 | find mustInstanceOfConstellationMission_class(problem,interpretation,var_Mission); | ||
1683 | find mustInRelationspacecraft_reference_ConstellationMission(problem,interpretation,var_Mission,var_virtual1); | ||
1684 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_virtual1); | ||
1685 | find mustEquivalent(problem, interpretation, var_virtual1, var_Spacecraft); | ||
1686 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_indirectLinkAllowed(problem,interpretation,var_Spacecraft,var_GroundStation); | ||
1687 | } | ||
1688 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries indirectLinkAllowed | ||
1689 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_indirectLinkAllowed( | ||
1690 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1691 | var_From, var_To) | ||
1692 | { | ||
1693 | find interpretation(problem,interpretation); | ||
1694 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1695 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1696 | // From is exported | ||
1697 | // To is exported | ||
1698 | find twoParam_mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_linkAllowed+(var_From,var_To); | ||
1699 | } | ||
1700 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_indirectLinkAllowed( | ||
1701 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1702 | var_From, var_To) | ||
1703 | { | ||
1704 | find interpretation(problem,interpretation); | ||
1705 | find mayInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1706 | find mayInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1707 | // From is exported | ||
1708 | // To is exported | ||
1709 | find twoParam_mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_linkAllowed+(var_From,var_To); | ||
1710 | } | ||
1711 | private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_indirectLinkAllowed( | ||
1712 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1713 | var_From, var_To) | ||
1714 | { | ||
1715 | find interpretation(problem,interpretation); | ||
1716 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1717 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1718 | // From is exported | ||
1719 | // To is exported | ||
1720 | find twoParam_currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_linkAllowed+(var_From,var_To); | ||
1721 | } | ||
1722 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries linkAllowed | ||
1723 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_linkAllowed( | ||
1724 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1725 | var_From, var_To) | ||
1726 | { | ||
1727 | find interpretation(problem,interpretation); | ||
1728 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1729 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1730 | // From is exported | ||
1731 | // To is exported | ||
1732 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_matchingAntenna(problem,interpretation,var_From,var_To,_var__0); | ||
1733 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_cubeSat3U(problem,interpretation,var_From); | ||
1734 | }or{ | ||
1735 | find interpretation(problem,interpretation); | ||
1736 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1737 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1738 | // From is exported | ||
1739 | // To is exported | ||
1740 | var_virtual0 == const_UHF_TransceiverBand;DefinedElement.name(const_UHF_TransceiverBand,"UHF TransceiverBand"); //LogicProblem.elements(problem,const_UHF_TransceiverBand); | ||
1741 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_matchingAntenna(problem,interpretation,var_From,var_To,var_virtual0); | ||
1742 | find mustInstanceOfCubeSat3U_class(problem,interpretation,var_From); | ||
1743 | }or{ | ||
1744 | find interpretation(problem,interpretation); | ||
1745 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1746 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1747 | // From is exported | ||
1748 | // To is exported | ||
1749 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_matchingAntenna(problem,interpretation,var_From,var_To,_var__0); | ||
1750 | find mustInstanceOfCubeSat3U_class(problem,interpretation,var_From); | ||
1751 | find mustInstanceOfGroundStationNetwork_class(problem,interpretation,var_To); | ||
1752 | } | ||
1753 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_linkAllowed( | ||
1754 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1755 | var_From, var_To) | ||
1756 | { | ||
1757 | find interpretation(problem,interpretation); | ||
1758 | find mayInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1759 | find mayInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1760 | // From is exported | ||
1761 | // To is exported | ||
1762 | find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_matchingAntenna(problem,interpretation,var_From,var_To,_var__0); | ||
1763 | neg find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_cubeSat3U(problem,interpretation,var_From); | ||
1764 | }or{ | ||
1765 | find interpretation(problem,interpretation); | ||
1766 | find mayInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1767 | find mayInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1768 | // From is exported | ||
1769 | // To is exported | ||
1770 | var_virtual0 == const_UHF_TransceiverBand;DefinedElement.name(const_UHF_TransceiverBand,"UHF TransceiverBand"); //LogicProblem.elements(problem,const_UHF_TransceiverBand); | ||
1771 | find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_matchingAntenna(problem,interpretation,var_From,var_To,var_virtual0); | ||
1772 | find mayInstanceOfCubeSat3U_class(problem,interpretation,var_From); | ||
1773 | }or{ | ||
1774 | find interpretation(problem,interpretation); | ||
1775 | find mayInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1776 | find mayInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1777 | // From is exported | ||
1778 | // To is exported | ||
1779 | find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_matchingAntenna(problem,interpretation,var_From,var_To,_var__0); | ||
1780 | find mayInstanceOfCubeSat3U_class(problem,interpretation,var_From); | ||
1781 | find mayInstanceOfGroundStationNetwork_class(problem,interpretation,var_To); | ||
1782 | } | ||
1783 | private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_linkAllowed( | ||
1784 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1785 | var_From, var_To) | ||
1786 | { | ||
1787 | find interpretation(problem,interpretation); | ||
1788 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1789 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1790 | // From is exported | ||
1791 | // To is exported | ||
1792 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_matchingAntenna(problem,interpretation,var_From,var_To,_var__0); | ||
1793 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_cubeSat3U(problem,interpretation,var_From); | ||
1794 | }or{ | ||
1795 | find interpretation(problem,interpretation); | ||
1796 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1797 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1798 | // From is exported | ||
1799 | // To is exported | ||
1800 | var_virtual0 == const_UHF_TransceiverBand;DefinedElement.name(const_UHF_TransceiverBand,"UHF TransceiverBand"); //LogicProblem.elements(problem,const_UHF_TransceiverBand); | ||
1801 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_matchingAntenna(problem,interpretation,var_From,var_To,var_virtual0); | ||
1802 | find mustInstanceOfCubeSat3U_class(problem,interpretation,var_From); | ||
1803 | }or{ | ||
1804 | find interpretation(problem,interpretation); | ||
1805 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1806 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1807 | // From is exported | ||
1808 | // To is exported | ||
1809 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_matchingAntenna(problem,interpretation,var_From,var_To,_var__0); | ||
1810 | find mustInstanceOfCubeSat3U_class(problem,interpretation,var_From); | ||
1811 | find mustInstanceOfGroundStationNetwork_class(problem,interpretation,var_To); | ||
1812 | } | ||
1813 | private pattern twoParam_mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_linkAllowed(var_From, var_To) { | ||
1814 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_linkAllowed(_,_,var_From, var_To); | ||
1815 | } | ||
1816 | private pattern twoParam_mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_linkAllowed(var_From, var_To) { | ||
1817 | find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_linkAllowed(_,_,var_From, var_To); | ||
1818 | } | ||
1819 | private pattern twoParam_currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_linkAllowed(var_From, var_To) { | ||
1820 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_linkAllowed(_,_,var_From, var_To); | ||
1821 | } | ||
1822 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries matchingAntenna | ||
1823 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_matchingAntenna( | ||
1824 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1825 | var_From, var_To, var_Band) | ||
1826 | { | ||
1827 | find interpretation(problem,interpretation); | ||
1828 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1829 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1830 | // type constraint is enforced by construction | ||
1831 | // From is exported | ||
1832 | // To is exported | ||
1833 | // Band is exported | ||
1834 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_From); | ||
1835 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_From,var_virtual0); | ||
1836 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); | ||
1837 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_virtual0,var_virtual1); | ||
1838 | // type constraint is enforced by construction | ||
1839 | find mustEquivalent(problem, interpretation, var_virtual1, var_Band); | ||
1840 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1841 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_To,var_virtual2); | ||
1842 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); | ||
1843 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_virtual2,var_virtual3); | ||
1844 | // type constraint is enforced by construction | ||
1845 | find mustEquivalent(problem, interpretation, var_virtual3, var_Band); | ||
1846 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_From); | ||
1847 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_From,var_virtual4); | ||
1848 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual4); | ||
1849 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_virtual4,var_virtual5); | ||
1850 | // type constraint is enforced by construction | ||
1851 | find mustEquivalent(problem, interpretation, var_virtual5, var_Gain); | ||
1852 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1853 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_To,var_virtual6); | ||
1854 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual6); | ||
1855 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_virtual6,var_virtual7); | ||
1856 | // type constraint is enforced by construction | ||
1857 | find mustEquivalent(problem, interpretation, var_virtual7, var_Gain); | ||
1858 | } | ||
1859 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_matchingAntenna( | ||
1860 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1861 | var_From, var_To, var_Band) | ||
1862 | { | ||
1863 | find interpretation(problem,interpretation); | ||
1864 | find mayInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1865 | find mayInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1866 | // type constraint is enforced by construction | ||
1867 | // From is exported | ||
1868 | // To is exported | ||
1869 | // Band is exported | ||
1870 | find mayInstanceOfCommunicatingElement_class(problem,interpretation,var_From); | ||
1871 | find mayInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_From,var_virtual0); | ||
1872 | find mayInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); | ||
1873 | find mayInRelationband_attribute_CommSubsystem(problem,interpretation,var_virtual0,var_virtual1); | ||
1874 | // type constraint is enforced by construction | ||
1875 | find mayEquivalent(problem, interpretation, var_virtual1, var_Band); | ||
1876 | find mayInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1877 | find mayInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_To,var_virtual2); | ||
1878 | find mayInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); | ||
1879 | find mayInRelationband_attribute_CommSubsystem(problem,interpretation,var_virtual2,var_virtual3); | ||
1880 | // type constraint is enforced by construction | ||
1881 | find mayEquivalent(problem, interpretation, var_virtual3, var_Band); | ||
1882 | find mayInstanceOfCommunicatingElement_class(problem,interpretation,var_From); | ||
1883 | find mayInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_From,var_virtual4); | ||
1884 | find mayInstanceOfCommSubsystem_class(problem,interpretation,var_virtual4); | ||
1885 | find mayInRelationgain_attribute_CommSubsystem(problem,interpretation,var_virtual4,var_virtual5); | ||
1886 | // type constraint is enforced by construction | ||
1887 | find mayEquivalent(problem, interpretation, var_virtual5, var_Gain); | ||
1888 | find mayInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1889 | find mayInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_To,var_virtual6); | ||
1890 | find mayInstanceOfCommSubsystem_class(problem,interpretation,var_virtual6); | ||
1891 | find mayInRelationgain_attribute_CommSubsystem(problem,interpretation,var_virtual6,var_virtual7); | ||
1892 | // type constraint is enforced by construction | ||
1893 | find mayEquivalent(problem, interpretation, var_virtual7, var_Gain); | ||
1894 | } | ||
1895 | private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_matchingAntenna( | ||
1896 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1897 | var_From, var_To, var_Band) | ||
1898 | { | ||
1899 | find interpretation(problem,interpretation); | ||
1900 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_From); | ||
1901 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1902 | // type constraint is enforced by construction | ||
1903 | // From is exported | ||
1904 | // To is exported | ||
1905 | // Band is exported | ||
1906 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_From); | ||
1907 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_From,var_virtual0); | ||
1908 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); | ||
1909 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_virtual0,var_virtual1); | ||
1910 | // type constraint is enforced by construction | ||
1911 | find mustEquivalent(problem, interpretation, var_virtual1, var_Band); | ||
1912 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1913 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_To,var_virtual2); | ||
1914 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); | ||
1915 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_virtual2,var_virtual3); | ||
1916 | // type constraint is enforced by construction | ||
1917 | find mustEquivalent(problem, interpretation, var_virtual3, var_Band); | ||
1918 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_From); | ||
1919 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_From,var_virtual4); | ||
1920 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual4); | ||
1921 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_virtual4,var_virtual5); | ||
1922 | // type constraint is enforced by construction | ||
1923 | find mustEquivalent(problem, interpretation, var_virtual5, var_Gain); | ||
1924 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_To); | ||
1925 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_To,var_virtual6); | ||
1926 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual6); | ||
1927 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_virtual6,var_virtual7); | ||
1928 | // type constraint is enforced by construction | ||
1929 | find mustEquivalent(problem, interpretation, var_virtual7, var_Gain); | ||
1930 | } | ||
1931 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries cubeSat3U | ||
1932 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_cubeSat3U( | ||
1933 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1934 | var_Sat) | ||
1935 | { | ||
1936 | find interpretation(problem,interpretation); | ||
1937 | find mustInstanceOfCubeSat3U_class(problem,interpretation,var_Sat); | ||
1938 | // Sat is exported | ||
1939 | find mustInstanceOfCubeSat3U_class(problem,interpretation,var_Sat); | ||
1940 | } | ||
1941 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_cubeSat3U( | ||
1942 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1943 | var_Sat) | ||
1944 | { | ||
1945 | find interpretation(problem,interpretation); | ||
1946 | find mayInstanceOfCubeSat3U_class(problem,interpretation,var_Sat); | ||
1947 | // Sat is exported | ||
1948 | find mayInstanceOfCubeSat3U_class(problem,interpretation,var_Sat); | ||
1949 | } | ||
1950 | private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_cubeSat3U( | ||
1951 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
1952 | var_Sat) | ||
1953 | { | ||
1954 | find interpretation(problem,interpretation); | ||
1955 | find mustInstanceOfCubeSat3U_class(problem,interpretation,var_Sat); | ||
1956 | // Sat is exported | ||
1957 | find mustInstanceOfCubeSat3U_class(problem,interpretation,var_Sat); | ||
1958 | } | ||
1548 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries communicationLoop | 1959 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries communicationLoop |
1549 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLoop( | 1960 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLoop( |
1550 | problem:LogicProblem, interpretation:PartialInterpretation, | 1961 | problem:LogicProblem, interpretation:PartialInterpretation, |
@@ -1620,19 +2031,19 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
1620 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2031 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1621 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual0); | 2032 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual0); |
1622 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); | 2033 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); |
1623 | var_virtual0 == var_SourceSubsystem; | 2034 | find mustEquivalent(problem, interpretation, var_virtual0, var_SourceSubsystem); |
1624 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2035 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1625 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); | 2036 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); |
1626 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); | 2037 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); |
1627 | var_virtual1 == var_TargetSubsystem; | 2038 | find mustEquivalent(problem, interpretation, var_virtual1, var_TargetSubsystem); |
1628 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Source); | 2039 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Source); |
1629 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Source,var_virtual2); | 2040 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Source,var_virtual2); |
1630 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); | 2041 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); |
1631 | var_virtual2 == var_SourceSubsystem; | 2042 | find mustEquivalent(problem, interpretation, var_virtual2, var_SourceSubsystem); |
1632 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Target); | 2043 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Target); |
1633 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Target,var_virtual3); | 2044 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Target,var_virtual3); |
1634 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual3); | 2045 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual3); |
1635 | var_virtual3 == var_TargetSubsystem; | 2046 | find mustEquivalent(problem, interpretation, var_virtual3, var_TargetSubsystem); |
1636 | } | 2047 | } |
1637 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_directCommunicationLink( | 2048 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_directCommunicationLink( |
1638 | problem:LogicProblem, interpretation:PartialInterpretation, | 2049 | problem:LogicProblem, interpretation:PartialInterpretation, |
@@ -1672,19 +2083,19 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
1672 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2083 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1673 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual0); | 2084 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual0); |
1674 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); | 2085 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); |
1675 | var_virtual0 == var_SourceSubsystem; | 2086 | find mustEquivalent(problem, interpretation, var_virtual0, var_SourceSubsystem); |
1676 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2087 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1677 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); | 2088 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); |
1678 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); | 2089 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); |
1679 | var_virtual1 == var_TargetSubsystem; | 2090 | find mustEquivalent(problem, interpretation, var_virtual1, var_TargetSubsystem); |
1680 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Source); | 2091 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Source); |
1681 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Source,var_virtual2); | 2092 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Source,var_virtual2); |
1682 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); | 2093 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); |
1683 | var_virtual2 == var_SourceSubsystem; | 2094 | find mustEquivalent(problem, interpretation, var_virtual2, var_SourceSubsystem); |
1684 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Target); | 2095 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Target); |
1685 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Target,var_virtual3); | 2096 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Target,var_virtual3); |
1686 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual3); | 2097 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual3); |
1687 | var_virtual3 == var_TargetSubsystem; | 2098 | find mustEquivalent(problem, interpretation, var_virtual3, var_TargetSubsystem); |
1688 | } | 2099 | } |
1689 | private pattern twoParam_mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_directCommunicationLink(var_Source, var_Target) { | 2100 | private pattern twoParam_mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_directCommunicationLink(var_Source, var_Target) { |
1690 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_directCommunicationLink(_,_,var_Source, var_Target); | 2101 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_directCommunicationLink(_,_,var_Source, var_Target); |
@@ -1706,15 +2117,15 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
1706 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2117 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1707 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual0); | 2118 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual0); |
1708 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); | 2119 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); |
1709 | var_virtual0 == var_SourceSubsystem; | 2120 | find mustEquivalent(problem, interpretation, var_virtual0, var_SourceSubsystem); |
1710 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2121 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1711 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); | 2122 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); |
1712 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); | 2123 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); |
1713 | var_virtual1 == var_TargetSubsystem; | 2124 | find mustEquivalent(problem, interpretation, var_virtual1, var_TargetSubsystem); |
1714 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_SourceSubsystem); | 2125 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_SourceSubsystem); |
1715 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_SourceSubsystem,var_virtual2); | 2126 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_SourceSubsystem,var_virtual2); |
1716 | // type constraint is enforced by construction | 2127 | // type constraint is enforced by construction |
1717 | var_virtual2 == var_Band; | 2128 | find mustEquivalent(problem, interpretation, var_virtual2, var_Band); |
1718 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemBand(problem,interpretation,var_TargetSubsystem,var_Band); | 2129 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemBand(problem,interpretation,var_TargetSubsystem,var_Band); |
1719 | } | 2130 | } |
1720 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_incompatibleSourceAndTargetBand( | 2131 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_incompatibleSourceAndTargetBand( |
@@ -1748,15 +2159,15 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
1748 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2159 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1749 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual0); | 2160 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual0); |
1750 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); | 2161 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); |
1751 | var_virtual0 == var_SourceSubsystem; | 2162 | find mustEquivalent(problem, interpretation, var_virtual0, var_SourceSubsystem); |
1752 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2163 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1753 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); | 2164 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); |
1754 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); | 2165 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); |
1755 | var_virtual1 == var_TargetSubsystem; | 2166 | find mustEquivalent(problem, interpretation, var_virtual1, var_TargetSubsystem); |
1756 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_SourceSubsystem); | 2167 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_SourceSubsystem); |
1757 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_SourceSubsystem,var_virtual2); | 2168 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_SourceSubsystem,var_virtual2); |
1758 | // type constraint is enforced by construction | 2169 | // type constraint is enforced by construction |
1759 | var_virtual2 == var_Band; | 2170 | find mustEquivalent(problem, interpretation, var_virtual2, var_Band); |
1760 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemBand(problem,interpretation,var_TargetSubsystem,var_Band); | 2171 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemBand(problem,interpretation,var_TargetSubsystem,var_Band); |
1761 | } | 2172 | } |
1762 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries commSubsystemBand | 2173 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries commSubsystemBand |
@@ -1772,7 +2183,7 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
1772 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2183 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
1773 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual0); | 2184 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual0); |
1774 | // type constraint is enforced by construction | 2185 | // type constraint is enforced by construction |
1775 | var_virtual0 == var_Band; | 2186 | find mustEquivalent(problem, interpretation, var_virtual0, var_Band); |
1776 | } | 2187 | } |
1777 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemBand( | 2188 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemBand( |
1778 | problem:LogicProblem, interpretation:PartialInterpretation, | 2189 | problem:LogicProblem, interpretation:PartialInterpretation, |
@@ -1800,7 +2211,7 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
1800 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2211 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
1801 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual0); | 2212 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual0); |
1802 | // type constraint is enforced by construction | 2213 | // type constraint is enforced by construction |
1803 | var_virtual0 == var_Band; | 2214 | find mustEquivalent(problem, interpretation, var_virtual0, var_Band); |
1804 | } | 2215 | } |
1805 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries incompatibleSourceAndTargetGain | 2216 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries incompatibleSourceAndTargetGain |
1806 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_incompatibleSourceAndTargetGain( | 2217 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_incompatibleSourceAndTargetGain( |
@@ -1813,15 +2224,15 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
1813 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2224 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1814 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual0); | 2225 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual0); |
1815 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); | 2226 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); |
1816 | var_virtual0 == var_SourceSubsystem; | 2227 | find mustEquivalent(problem, interpretation, var_virtual0, var_SourceSubsystem); |
1817 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2228 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1818 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); | 2229 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); |
1819 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); | 2230 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); |
1820 | var_virtual1 == var_TargetSubsystem; | 2231 | find mustEquivalent(problem, interpretation, var_virtual1, var_TargetSubsystem); |
1821 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_SourceSubsystem); | 2232 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_SourceSubsystem); |
1822 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_SourceSubsystem,var_virtual2); | 2233 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_SourceSubsystem,var_virtual2); |
1823 | // type constraint is enforced by construction | 2234 | // type constraint is enforced by construction |
1824 | var_virtual2 == var_Gain; | 2235 | find mustEquivalent(problem, interpretation, var_virtual2, var_Gain); |
1825 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGain(problem,interpretation,var_TargetSubsystem,var_Gain); | 2236 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGain(problem,interpretation,var_TargetSubsystem,var_Gain); |
1826 | } | 2237 | } |
1827 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_incompatibleSourceAndTargetGain( | 2238 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_incompatibleSourceAndTargetGain( |
@@ -1855,15 +2266,15 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
1855 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2266 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1856 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual0); | 2267 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual0); |
1857 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); | 2268 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); |
1858 | var_virtual0 == var_SourceSubsystem; | 2269 | find mustEquivalent(problem, interpretation, var_virtual0, var_SourceSubsystem); |
1859 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2270 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
1860 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); | 2271 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); |
1861 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); | 2272 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); |
1862 | var_virtual1 == var_TargetSubsystem; | 2273 | find mustEquivalent(problem, interpretation, var_virtual1, var_TargetSubsystem); |
1863 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_SourceSubsystem); | 2274 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_SourceSubsystem); |
1864 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_SourceSubsystem,var_virtual2); | 2275 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_SourceSubsystem,var_virtual2); |
1865 | // type constraint is enforced by construction | 2276 | // type constraint is enforced by construction |
1866 | var_virtual2 == var_Gain; | 2277 | find mustEquivalent(problem, interpretation, var_virtual2, var_Gain); |
1867 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGain(problem,interpretation,var_TargetSubsystem,var_Gain); | 2278 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGain(problem,interpretation,var_TargetSubsystem,var_Gain); |
1868 | } | 2279 | } |
1869 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries commSubsystemGain | 2280 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries commSubsystemGain |
@@ -1879,7 +2290,7 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
1879 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2290 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
1880 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual0); | 2291 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual0); |
1881 | // type constraint is enforced by construction | 2292 | // type constraint is enforced by construction |
1882 | var_virtual0 == var_Gain; | 2293 | find mustEquivalent(problem, interpretation, var_virtual0, var_Gain); |
1883 | } | 2294 | } |
1884 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGain( | 2295 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGain( |
1885 | problem:LogicProblem, interpretation:PartialInterpretation, | 2296 | problem:LogicProblem, interpretation:PartialInterpretation, |
@@ -1907,7 +2318,7 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
1907 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2318 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
1908 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual0); | 2319 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual0); |
1909 | // type constraint is enforced by construction | 2320 | // type constraint is enforced by construction |
1910 | var_virtual0 == var_Gain; | 2321 | find mustEquivalent(problem, interpretation, var_virtual0, var_Gain); |
1911 | } | 2322 | } |
1912 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries uhfAntennaGainNotLow | 2323 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries uhfAntennaGainNotLow |
1913 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_uhfAntennaGainNotLow( | 2324 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_uhfAntennaGainNotLow( |
@@ -1921,7 +2332,7 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
1921 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2332 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
1922 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); | 2333 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); |
1923 | // type constraint is enforced by construction | 2334 | // type constraint is enforced by construction |
1924 | var_virtual1 == var_virtual0; | 2335 | find mustEquivalent(problem, interpretation, var_virtual1, var_virtual0); |
1925 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGainLow(problem,interpretation,var_Comm); | 2336 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGainLow(problem,interpretation,var_Comm); |
1926 | } | 2337 | } |
1927 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_uhfAntennaGainNotLow( | 2338 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_uhfAntennaGainNotLow( |
@@ -1949,7 +2360,7 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
1949 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2360 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
1950 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); | 2361 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); |
1951 | // type constraint is enforced by construction | 2362 | // type constraint is enforced by construction |
1952 | var_virtual1 == var_virtual0; | 2363 | find mustEquivalent(problem, interpretation, var_virtual1, var_virtual0); |
1953 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGainLow(problem,interpretation,var_Comm); | 2364 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGainLow(problem,interpretation,var_Comm); |
1954 | } | 2365 | } |
1955 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries commSubsystemGainLow | 2366 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries commSubsystemGainLow |
@@ -1964,7 +2375,7 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
1964 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2375 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
1965 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); | 2376 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); |
1966 | // type constraint is enforced by construction | 2377 | // type constraint is enforced by construction |
1967 | var_virtual1 == var_virtual0; | 2378 | find mustEquivalent(problem, interpretation, var_virtual1, var_virtual0); |
1968 | } | 2379 | } |
1969 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGainLow( | 2380 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGainLow( |
1970 | problem:LogicProblem, interpretation:PartialInterpretation, | 2381 | problem:LogicProblem, interpretation:PartialInterpretation, |
@@ -1990,7 +2401,7 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
1990 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2401 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
1991 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); | 2402 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); |
1992 | // type constraint is enforced by construction | 2403 | // type constraint is enforced by construction |
1993 | var_virtual1 == var_virtual0; | 2404 | find mustEquivalent(problem, interpretation, var_virtual1, var_virtual0); |
1994 | } | 2405 | } |
1995 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries xAntennaGainNotMedium | 2406 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries xAntennaGainNotMedium |
1996 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_xAntennaGainNotMedium( | 2407 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_xAntennaGainNotMedium( |
@@ -2004,7 +2415,7 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
2004 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2415 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
2005 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); | 2416 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); |
2006 | // type constraint is enforced by construction | 2417 | // type constraint is enforced by construction |
2007 | var_virtual1 == var_virtual0; | 2418 | find mustEquivalent(problem, interpretation, var_virtual1, var_virtual0); |
2008 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGainMedium(problem,interpretation,var_Comm); | 2419 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGainMedium(problem,interpretation,var_Comm); |
2009 | } | 2420 | } |
2010 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_xAntennaGainNotMedium( | 2421 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_xAntennaGainNotMedium( |
@@ -2032,7 +2443,7 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
2032 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2443 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
2033 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); | 2444 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); |
2034 | // type constraint is enforced by construction | 2445 | // type constraint is enforced by construction |
2035 | var_virtual1 == var_virtual0; | 2446 | find mustEquivalent(problem, interpretation, var_virtual1, var_virtual0); |
2036 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGainMedium(problem,interpretation,var_Comm); | 2447 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGainMedium(problem,interpretation,var_Comm); |
2037 | } | 2448 | } |
2038 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries commSubsystemGainMedium | 2449 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries commSubsystemGainMedium |
@@ -2047,7 +2458,7 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
2047 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2458 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
2048 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); | 2459 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); |
2049 | // type constraint is enforced by construction | 2460 | // type constraint is enforced by construction |
2050 | var_virtual1 == var_virtual0; | 2461 | find mustEquivalent(problem, interpretation, var_virtual1, var_virtual0); |
2051 | } | 2462 | } |
2052 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGainMedium( | 2463 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemGainMedium( |
2053 | problem:LogicProblem, interpretation:PartialInterpretation, | 2464 | problem:LogicProblem, interpretation:PartialInterpretation, |
@@ -2073,7 +2484,7 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
2073 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2484 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
2074 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); | 2485 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); |
2075 | // type constraint is enforced by construction | 2486 | // type constraint is enforced by construction |
2076 | var_virtual1 == var_virtual0; | 2487 | find mustEquivalent(problem, interpretation, var_virtual1, var_virtual0); |
2077 | } | 2488 | } |
2078 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries kaAntennaGainLow | 2489 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries kaAntennaGainLow |
2079 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_kaAntennaGainLow( | 2490 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_kaAntennaGainLow( |
@@ -2087,12 +2498,12 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
2087 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2498 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
2088 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); | 2499 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); |
2089 | // type constraint is enforced by construction | 2500 | // type constraint is enforced by construction |
2090 | var_virtual1 == var_virtual0; | 2501 | find mustEquivalent(problem, interpretation, var_virtual1, var_virtual0); |
2091 | var_virtual2 == const_LOW_AntennaGain;DefinedElement.name(const_LOW_AntennaGain,"LOW AntennaGain"); //LogicProblem.elements(problem,const_LOW_AntennaGain); | 2502 | var_virtual2 == const_LOW_AntennaGain;DefinedElement.name(const_LOW_AntennaGain,"LOW AntennaGain"); //LogicProblem.elements(problem,const_LOW_AntennaGain); |
2092 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2503 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
2093 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual3); | 2504 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual3); |
2094 | // type constraint is enforced by construction | 2505 | // type constraint is enforced by construction |
2095 | var_virtual3 == var_virtual2; | 2506 | find mustEquivalent(problem, interpretation, var_virtual3, var_virtual2); |
2096 | } | 2507 | } |
2097 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_kaAntennaGainLow( | 2508 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_kaAntennaGainLow( |
2098 | problem:LogicProblem, interpretation:PartialInterpretation, | 2509 | problem:LogicProblem, interpretation:PartialInterpretation, |
@@ -2123,12 +2534,12 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
2123 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2534 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
2124 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); | 2535 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); |
2125 | // type constraint is enforced by construction | 2536 | // type constraint is enforced by construction |
2126 | var_virtual1 == var_virtual0; | 2537 | find mustEquivalent(problem, interpretation, var_virtual1, var_virtual0); |
2127 | var_virtual2 == const_LOW_AntennaGain;DefinedElement.name(const_LOW_AntennaGain,"LOW AntennaGain"); //LogicProblem.elements(problem,const_LOW_AntennaGain); | 2538 | var_virtual2 == const_LOW_AntennaGain;DefinedElement.name(const_LOW_AntennaGain,"LOW AntennaGain"); //LogicProblem.elements(problem,const_LOW_AntennaGain); |
2128 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2539 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
2129 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual3); | 2540 | find mustInRelationgain_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual3); |
2130 | // type constraint is enforced by construction | 2541 | // type constraint is enforced by construction |
2131 | var_virtual3 == var_virtual2; | 2542 | find mustEquivalent(problem, interpretation, var_virtual3, var_virtual2); |
2132 | } | 2543 | } |
2133 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries threeUCubeSatWithNonUhfCrossLink | 2544 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries threeUCubeSatWithNonUhfCrossLink |
2134 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_threeUCubeSatWithNonUhfCrossLink( | 2545 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_threeUCubeSatWithNonUhfCrossLink( |
@@ -2141,20 +2552,20 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
2141 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Sat); | 2552 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Sat); |
2142 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Sat,var_virtual0); | 2553 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Sat,var_virtual0); |
2143 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); | 2554 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); |
2144 | var_virtual0 == var_SourceComm; | 2555 | find mustEquivalent(problem, interpretation, var_virtual0, var_SourceComm); |
2145 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemBandUhf(problem,interpretation,var_SourceComm); | 2556 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemBandUhf(problem,interpretation,var_SourceComm); |
2146 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2557 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
2147 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); | 2558 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); |
2148 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); | 2559 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); |
2149 | var_virtual1 == var_SourceComm; | 2560 | find mustEquivalent(problem, interpretation, var_virtual1, var_SourceComm); |
2150 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2561 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
2151 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual2); | 2562 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual2); |
2152 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); | 2563 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); |
2153 | var_virtual2 == var_TargetComm; | 2564 | find mustEquivalent(problem, interpretation, var_virtual2, var_TargetComm); |
2154 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Target); | 2565 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Target); |
2155 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Target,var_virtual3); | 2566 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Target,var_virtual3); |
2156 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual3); | 2567 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual3); |
2157 | var_virtual3 == var_TargetComm; | 2568 | find mustEquivalent(problem, interpretation, var_virtual3, var_TargetComm); |
2158 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_groundStationNetwork(problem,interpretation,var_Target); | 2569 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_groundStationNetwork(problem,interpretation,var_Target); |
2159 | } | 2570 | } |
2160 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_threeUCubeSatWithNonUhfCrossLink( | 2571 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_threeUCubeSatWithNonUhfCrossLink( |
@@ -2193,20 +2604,20 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
2193 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Sat); | 2604 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Sat); |
2194 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Sat,var_virtual0); | 2605 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Sat,var_virtual0); |
2195 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); | 2606 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual0); |
2196 | var_virtual0 == var_SourceComm; | 2607 | find mustEquivalent(problem, interpretation, var_virtual0, var_SourceComm); |
2197 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemBandUhf(problem,interpretation,var_SourceComm); | 2608 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemBandUhf(problem,interpretation,var_SourceComm); |
2198 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2609 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
2199 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); | 2610 | find mustInRelationsource_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual1); |
2200 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); | 2611 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); |
2201 | var_virtual1 == var_SourceComm; | 2612 | find mustEquivalent(problem, interpretation, var_virtual1, var_SourceComm); |
2202 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); | 2613 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,var_Link); |
2203 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual2); | 2614 | find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,var_Link,var_virtual2); |
2204 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); | 2615 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual2); |
2205 | var_virtual2 == var_TargetComm; | 2616 | find mustEquivalent(problem, interpretation, var_virtual2, var_TargetComm); |
2206 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Target); | 2617 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,var_Target); |
2207 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Target,var_virtual3); | 2618 | find mustInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,var_Target,var_virtual3); |
2208 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual3); | 2619 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual3); |
2209 | var_virtual3 == var_TargetComm; | 2620 | find mustEquivalent(problem, interpretation, var_virtual3, var_TargetComm); |
2210 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_groundStationNetwork(problem,interpretation,var_Target); | 2621 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_groundStationNetwork(problem,interpretation,var_Target); |
2211 | } | 2622 | } |
2212 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries commSubsystemBandUhf | 2623 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries commSubsystemBandUhf |
@@ -2221,7 +2632,7 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
2221 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2632 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
2222 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); | 2633 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); |
2223 | // type constraint is enforced by construction | 2634 | // type constraint is enforced by construction |
2224 | var_virtual1 == var_virtual0; | 2635 | find mustEquivalent(problem, interpretation, var_virtual1, var_virtual0); |
2225 | } | 2636 | } |
2226 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemBandUhf( | 2637 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_commSubsystemBandUhf( |
2227 | problem:LogicProblem, interpretation:PartialInterpretation, | 2638 | problem:LogicProblem, interpretation:PartialInterpretation, |
@@ -2247,7 +2658,7 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
2247 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); | 2658 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_Comm); |
2248 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); | 2659 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_Comm,var_virtual1); |
2249 | // type constraint is enforced by construction | 2660 | // type constraint is enforced by construction |
2250 | var_virtual1 == var_virtual0; | 2661 | find mustEquivalent(problem, interpretation, var_virtual1, var_virtual0); |
2251 | } | 2662 | } |
2252 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries groundStationNetwork | 2663 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries groundStationNetwork |
2253 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_groundStationNetwork( | 2664 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_groundStationNetwork( |
@@ -2291,7 +2702,7 @@ private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satell | |||
2291 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); | 2702 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); |
2292 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_virtual1,var_virtual2); | 2703 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_virtual1,var_virtual2); |
2293 | // type constraint is enforced by construction | 2704 | // type constraint is enforced by construction |
2294 | var_virtual2 == var_virtual0; | 2705 | find mustEquivalent(problem, interpretation, var_virtual2, var_virtual0); |
2295 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_smallSat(problem,interpretation,var_Spacecraft); | 2706 | neg find mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_smallSat(problem,interpretation,var_Spacecraft); |
2296 | } | 2707 | } |
2297 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_cubeSatWithKaAntenna( | 2708 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_cubeSatWithKaAntenna( |
@@ -2323,7 +2734,7 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
2323 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); | 2734 | find mustInstanceOfCommSubsystem_class(problem,interpretation,var_virtual1); |
2324 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_virtual1,var_virtual2); | 2735 | find mustInRelationband_attribute_CommSubsystem(problem,interpretation,var_virtual1,var_virtual2); |
2325 | // type constraint is enforced by construction | 2736 | // type constraint is enforced by construction |
2326 | var_virtual2 == var_virtual0; | 2737 | find mustEquivalent(problem, interpretation, var_virtual2, var_virtual0); |
2327 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_smallSat(problem,interpretation,var_Spacecraft); | 2738 | neg find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_smallSat(problem,interpretation,var_Spacecraft); |
2328 | } | 2739 | } |
2329 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries smallSat | 2740 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries smallSat |
@@ -2354,6 +2765,100 @@ private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_sat | |||
2354 | // Sat is exported | 2765 | // Sat is exported |
2355 | find mustInstanceOfSmallSat_class(problem,interpretation,var_Sat); | 2766 | find mustInstanceOfSmallSat_class(problem,interpretation,var_Sat); |
2356 | } | 2767 | } |
2768 | // Must, May and Current queries for pattern hu bme mit inf dslreasoner domains satellite queries spacecraftOfKind | ||
2769 | private pattern mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftOfKind( | ||
2770 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
2771 | var_Spacecraft, var_Kind) | ||
2772 | { | ||
2773 | find interpretation(problem,interpretation); | ||
2774 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | ||
2775 | // type constraint is enforced by construction | ||
2776 | // Spacecraft is exported | ||
2777 | // Kind is exported | ||
2778 | find mustInstanceOfCubeSat3U_class(problem,interpretation,var_Spacecraft); | ||
2779 | var_virtual0 == const_CubeSat3U_SpacecraftKind;DefinedElement.name(const_CubeSat3U_SpacecraftKind,"CubeSat3U SpacecraftKind"); //LogicProblem.elements(problem,const_CubeSat3U_SpacecraftKind); | ||
2780 | find mustEquivalent(problem, interpretation, var_Kind, var_virtual0); | ||
2781 | }or{ | ||
2782 | find interpretation(problem,interpretation); | ||
2783 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | ||
2784 | // type constraint is enforced by construction | ||
2785 | // Spacecraft is exported | ||
2786 | // Kind is exported | ||
2787 | find mustInstanceOfCubeSat6U_class(problem,interpretation,var_Spacecraft); | ||
2788 | var_virtual0 == const_CubeSat6U_SpacecraftKind;DefinedElement.name(const_CubeSat6U_SpacecraftKind,"CubeSat6U SpacecraftKind"); //LogicProblem.elements(problem,const_CubeSat6U_SpacecraftKind); | ||
2789 | find mustEquivalent(problem, interpretation, var_Kind, var_virtual0); | ||
2790 | }or{ | ||
2791 | find interpretation(problem,interpretation); | ||
2792 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | ||
2793 | // type constraint is enforced by construction | ||
2794 | // Spacecraft is exported | ||
2795 | // Kind is exported | ||
2796 | find mustInstanceOfSmallSat_class(problem,interpretation,var_Spacecraft); | ||
2797 | var_virtual0 == const_SmallSat_SpacecraftKind;DefinedElement.name(const_SmallSat_SpacecraftKind,"SmallSat SpacecraftKind"); //LogicProblem.elements(problem,const_SmallSat_SpacecraftKind); | ||
2798 | find mustEquivalent(problem, interpretation, var_Kind, var_virtual0); | ||
2799 | } | ||
2800 | private pattern mayInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftOfKind( | ||
2801 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
2802 | var_Spacecraft, var_Kind) | ||
2803 | { | ||
2804 | find interpretation(problem,interpretation); | ||
2805 | find mayInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | ||
2806 | // type constraint is enforced by construction | ||
2807 | // Spacecraft is exported | ||
2808 | // Kind is exported | ||
2809 | find mayInstanceOfCubeSat3U_class(problem,interpretation,var_Spacecraft); | ||
2810 | var_virtual0 == const_CubeSat3U_SpacecraftKind;DefinedElement.name(const_CubeSat3U_SpacecraftKind,"CubeSat3U SpacecraftKind"); //LogicProblem.elements(problem,const_CubeSat3U_SpacecraftKind); | ||
2811 | find mayEquivalent(problem, interpretation, var_Kind, var_virtual0); | ||
2812 | }or{ | ||
2813 | find interpretation(problem,interpretation); | ||
2814 | find mayInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | ||
2815 | // type constraint is enforced by construction | ||
2816 | // Spacecraft is exported | ||
2817 | // Kind is exported | ||
2818 | find mayInstanceOfCubeSat6U_class(problem,interpretation,var_Spacecraft); | ||
2819 | var_virtual0 == const_CubeSat6U_SpacecraftKind;DefinedElement.name(const_CubeSat6U_SpacecraftKind,"CubeSat6U SpacecraftKind"); //LogicProblem.elements(problem,const_CubeSat6U_SpacecraftKind); | ||
2820 | find mayEquivalent(problem, interpretation, var_Kind, var_virtual0); | ||
2821 | }or{ | ||
2822 | find interpretation(problem,interpretation); | ||
2823 | find mayInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | ||
2824 | // type constraint is enforced by construction | ||
2825 | // Spacecraft is exported | ||
2826 | // Kind is exported | ||
2827 | find mayInstanceOfSmallSat_class(problem,interpretation,var_Spacecraft); | ||
2828 | var_virtual0 == const_SmallSat_SpacecraftKind;DefinedElement.name(const_SmallSat_SpacecraftKind,"SmallSat SpacecraftKind"); //LogicProblem.elements(problem,const_SmallSat_SpacecraftKind); | ||
2829 | find mayEquivalent(problem, interpretation, var_Kind, var_virtual0); | ||
2830 | } | ||
2831 | private pattern currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_spacecraftOfKind( | ||
2832 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
2833 | var_Spacecraft, var_Kind) | ||
2834 | { | ||
2835 | find interpretation(problem,interpretation); | ||
2836 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | ||
2837 | // type constraint is enforced by construction | ||
2838 | // Spacecraft is exported | ||
2839 | // Kind is exported | ||
2840 | find mustInstanceOfCubeSat3U_class(problem,interpretation,var_Spacecraft); | ||
2841 | var_virtual0 == const_CubeSat3U_SpacecraftKind;DefinedElement.name(const_CubeSat3U_SpacecraftKind,"CubeSat3U SpacecraftKind"); //LogicProblem.elements(problem,const_CubeSat3U_SpacecraftKind); | ||
2842 | find mustEquivalent(problem, interpretation, var_Kind, var_virtual0); | ||
2843 | }or{ | ||
2844 | find interpretation(problem,interpretation); | ||
2845 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | ||
2846 | // type constraint is enforced by construction | ||
2847 | // Spacecraft is exported | ||
2848 | // Kind is exported | ||
2849 | find mustInstanceOfCubeSat6U_class(problem,interpretation,var_Spacecraft); | ||
2850 | var_virtual0 == const_CubeSat6U_SpacecraftKind;DefinedElement.name(const_CubeSat6U_SpacecraftKind,"CubeSat6U SpacecraftKind"); //LogicProblem.elements(problem,const_CubeSat6U_SpacecraftKind); | ||
2851 | find mustEquivalent(problem, interpretation, var_Kind, var_virtual0); | ||
2852 | }or{ | ||
2853 | find interpretation(problem,interpretation); | ||
2854 | find mustInstanceOfSpacecraft_class(problem,interpretation,var_Spacecraft); | ||
2855 | // type constraint is enforced by construction | ||
2856 | // Spacecraft is exported | ||
2857 | // Kind is exported | ||
2858 | find mustInstanceOfSmallSat_class(problem,interpretation,var_Spacecraft); | ||
2859 | var_virtual0 == const_SmallSat_SpacecraftKind;DefinedElement.name(const_SmallSat_SpacecraftKind,"SmallSat SpacecraftKind"); //LogicProblem.elements(problem,const_SmallSat_SpacecraftKind); | ||
2860 | find mustEquivalent(problem, interpretation, var_Kind, var_virtual0); | ||
2861 | } | ||
2357 | 2862 | ||
2358 | ////////// | 2863 | ////////// |
2359 | // 1.4 Containment Indexer | 2864 | // 1.4 Containment Indexer |
@@ -2388,11 +2893,21 @@ pattern invalidatedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queri | |||
2388 | { | 2893 | { |
2389 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLinkDoesNotStartAtContainingElement(problem,interpretation,var_Link); | 2894 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLinkDoesNotStartAtContainingElement(problem,interpretation,var_Link); |
2390 | } | 2895 | } |
2896 | pattern invalidatedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_notEnoughInterferometryPayloads(problem:LogicProblem, interpretation:PartialInterpretation, | ||
2897 | var_Mission) | ||
2898 | { | ||
2899 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_notEnoughInterferometryPayloads(problem,interpretation,var_Mission); | ||
2900 | } | ||
2391 | pattern invalidatedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noLinkToGroundStation(problem:LogicProblem, interpretation:PartialInterpretation, | 2901 | pattern invalidatedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noLinkToGroundStation(problem:LogicProblem, interpretation:PartialInterpretation, |
2392 | var_Spacecraft) | 2902 | var_Spacecraft) |
2393 | { | 2903 | { |
2394 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noLinkToGroundStation(problem,interpretation,var_Spacecraft); | 2904 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noLinkToGroundStation(problem,interpretation,var_Spacecraft); |
2395 | } | 2905 | } |
2906 | pattern invalidatedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noPotentialLinkToGroundStation(problem:LogicProblem, interpretation:PartialInterpretation, | ||
2907 | var_Spacecraft) | ||
2908 | { | ||
2909 | find mustInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noPotentialLinkToGroundStation(problem,interpretation,var_Spacecraft); | ||
2910 | } | ||
2396 | pattern invalidatedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLoop(problem:LogicProblem, interpretation:PartialInterpretation, | 2911 | pattern invalidatedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLoop(problem:LogicProblem, interpretation:PartialInterpretation, |
2397 | var_Element) | 2912 | var_Element) |
2398 | { | 2913 | { |
@@ -2511,11 +3026,21 @@ pattern unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_querie | |||
2511 | { | 3026 | { |
2512 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLinkDoesNotStartAtContainingElement(problem,interpretation,var_Link); | 3027 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLinkDoesNotStartAtContainingElement(problem,interpretation,var_Link); |
2513 | } | 3028 | } |
3029 | pattern unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_notEnoughInterferometryPayloads(problem:LogicProblem, interpretation:PartialInterpretation, | ||
3030 | var_Mission) | ||
3031 | { | ||
3032 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_notEnoughInterferometryPayloads(problem,interpretation,var_Mission); | ||
3033 | } | ||
2514 | pattern unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noLinkToGroundStation(problem:LogicProblem, interpretation:PartialInterpretation, | 3034 | pattern unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noLinkToGroundStation(problem:LogicProblem, interpretation:PartialInterpretation, |
2515 | var_Spacecraft) | 3035 | var_Spacecraft) |
2516 | { | 3036 | { |
2517 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noLinkToGroundStation(problem,interpretation,var_Spacecraft); | 3037 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noLinkToGroundStation(problem,interpretation,var_Spacecraft); |
2518 | } | 3038 | } |
3039 | pattern unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noPotentialLinkToGroundStation(problem:LogicProblem, interpretation:PartialInterpretation, | ||
3040 | var_Spacecraft) | ||
3041 | { | ||
3042 | find currentInRelation_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_noPotentialLinkToGroundStation(problem,interpretation,var_Spacecraft); | ||
3043 | } | ||
2519 | pattern unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLoop(problem:LogicProblem, interpretation:PartialInterpretation, | 3044 | pattern unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_queries_communicationLoop(problem:LogicProblem, interpretation:PartialInterpretation, |
2520 | var_Element) | 3045 | var_Element) |
2521 | { | 3046 | { |
@@ -2565,31 +3090,35 @@ pattern unfinishedBy_pattern_hu_bme_mit_inf_dslreasoner_domains_satellite_querie | |||
2565 | private pattern hasElementInContainment(problem:LogicProblem, interpretation:PartialInterpretation) | 3090 | private pattern hasElementInContainment(problem:LogicProblem, interpretation:PartialInterpretation) |
2566 | { | 3091 | { |
2567 | find interpretation(problem,interpretation); | 3092 | find interpretation(problem,interpretation); |
2568 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,root); | 3093 | find mustInstanceOfInterferometryPayload_class(problem,interpretation,root); |
2569 | find mustExist(problem, interpretation, root); | 3094 | find mustExist(problem, interpretation, root); |
2570 | }or{ | 3095 | }or{ |
2571 | find interpretation(problem,interpretation); | 3096 | find interpretation(problem,interpretation); |
2572 | find mustInstanceOfConstellationMission_class(problem,interpretation,root); | 3097 | find mustInstanceOfSpacecraft_class(problem,interpretation,root); |
2573 | find mustExist(problem, interpretation, root); | 3098 | find mustExist(problem, interpretation, root); |
2574 | }or{ | 3099 | }or{ |
2575 | find interpretation(problem,interpretation); | 3100 | find interpretation(problem,interpretation); |
2576 | find mustInstanceOfInterferometryMission_class(problem,interpretation,root); | 3101 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,root); |
2577 | find mustExist(problem, interpretation, root); | 3102 | find mustExist(problem, interpretation, root); |
2578 | }or{ | 3103 | }or{ |
2579 | find interpretation(problem,interpretation); | 3104 | find interpretation(problem,interpretation); |
2580 | find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,root); | 3105 | find mustInstanceOfCubeSat_class(problem,interpretation,root); |
2581 | find mustExist(problem, interpretation, root); | 3106 | find mustExist(problem, interpretation, root); |
2582 | }or{ | 3107 | }or{ |
2583 | find interpretation(problem,interpretation); | 3108 | find interpretation(problem,interpretation); |
2584 | find mustInstanceOfSmallSat_class(problem,interpretation,root); | 3109 | find mustInstanceOfConstellationMission_class(problem,interpretation,root); |
2585 | find mustExist(problem, interpretation, root); | 3110 | find mustExist(problem, interpretation, root); |
2586 | }or{ | 3111 | }or{ |
2587 | find interpretation(problem,interpretation); | 3112 | find interpretation(problem,interpretation); |
2588 | find mustInstanceOfPayload_class(problem,interpretation,root); | 3113 | find mustInstanceOfInterferometryMission_class(problem,interpretation,root); |
2589 | find mustExist(problem, interpretation, root); | 3114 | find mustExist(problem, interpretation, root); |
2590 | }or{ | 3115 | }or{ |
2591 | find interpretation(problem,interpretation); | 3116 | find interpretation(problem,interpretation); |
2592 | find mustInstanceOfGroundStationNetwork_class(problem,interpretation,root); | 3117 | find mustInstanceOfCubeSat3U_class(problem,interpretation,root); |
3118 | find mustExist(problem, interpretation, root); | ||
3119 | }or{ | ||
3120 | find interpretation(problem,interpretation); | ||
3121 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,root); | ||
2593 | find mustExist(problem, interpretation, root); | 3122 | find mustExist(problem, interpretation, root); |
2594 | }or{ | 3123 | }or{ |
2595 | find interpretation(problem,interpretation); | 3124 | find interpretation(problem,interpretation); |
@@ -2597,19 +3126,19 @@ private pattern hasElementInContainment(problem:LogicProblem, interpretation:Par | |||
2597 | find mustExist(problem, interpretation, root); | 3126 | find mustExist(problem, interpretation, root); |
2598 | }or{ | 3127 | }or{ |
2599 | find interpretation(problem,interpretation); | 3128 | find interpretation(problem,interpretation); |
2600 | find mustInstanceOfCommSubsystem_class(problem,interpretation,root); | 3129 | find mustInstanceOfSmallSat_class(problem,interpretation,root); |
2601 | find mustExist(problem, interpretation, root); | 3130 | find mustExist(problem, interpretation, root); |
2602 | }or{ | 3131 | }or{ |
2603 | find interpretation(problem,interpretation); | 3132 | find interpretation(problem,interpretation); |
2604 | find mustInstanceOfInterferometryPayload_class(problem,interpretation,root); | 3133 | find mustInstanceOfCommSubsystem_class(problem,interpretation,root); |
2605 | find mustExist(problem, interpretation, root); | 3134 | find mustExist(problem, interpretation, root); |
2606 | }or{ | 3135 | }or{ |
2607 | find interpretation(problem,interpretation); | 3136 | find interpretation(problem,interpretation); |
2608 | find mustInstanceOfCubeSat3U_class(problem,interpretation,root); | 3137 | find mustInstanceOfGroundStationNetwork_class(problem,interpretation,root); |
2609 | find mustExist(problem, interpretation, root); | 3138 | find mustExist(problem, interpretation, root); |
2610 | }or{ | 3139 | }or{ |
2611 | find interpretation(problem,interpretation); | 3140 | find interpretation(problem,interpretation); |
2612 | find mustInstanceOfSpacecraft_class(problem,interpretation,root); | 3141 | find mustInstanceOfPayload_class(problem,interpretation,root); |
2613 | find mustExist(problem, interpretation, root); | 3142 | find mustExist(problem, interpretation, root); |
2614 | }or{ | 3143 | }or{ |
2615 | find interpretation(problem,interpretation); | 3144 | find interpretation(problem,interpretation); |
@@ -2652,59 +3181,43 @@ private pattern hasElementInContainment(problem:LogicProblem, interpretation:Par | |||
2652 | find mustInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,root); | 3181 | find mustInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,root); |
2653 | find mustExist(problem, interpretation, root); | 3182 | find mustExist(problem, interpretation, root); |
2654 | } | 3183 | } |
2655 | pattern createObject_CubeSat6U_class_by_spacecraft_reference_ConstellationMission( | 3184 | pattern createObject_DirectedCommunicationLink_class_by_communicationLink_reference_CommunicatingElement( |
2656 | problem:LogicProblem, interpretation:PartialInterpretation, | 3185 | problem:LogicProblem, interpretation:PartialInterpretation, |
2657 | relationInterpretation:PartialRelationInterpretation, typeInterpretation:PartialComplexTypeInterpretation, | 3186 | relationInterpretation:PartialRelationInterpretation, typeInterpretation:PartialComplexTypeInterpretation, |
2658 | container:DefinedElement) | 3187 | container:DefinedElement) |
2659 | { | 3188 | { |
2660 | find interpretation(problem,interpretation); | 3189 | find interpretation(problem,interpretation); |
2661 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); | 3190 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); |
2662 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"CubeSat6U class"); | 3191 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"DirectedCommunicationLink class"); |
2663 | PartialInterpretation.partialrelationinterpretation(interpretation,relationInterpretation); | 3192 | PartialInterpretation.partialrelationinterpretation(interpretation,relationInterpretation); |
2664 | PartialRelationInterpretation.interpretationOf.name(relationInterpretation,"spacecraft reference ConstellationMission"); | 3193 | PartialRelationInterpretation.interpretationOf.name(relationInterpretation,"communicationLink reference CommunicatingElement"); |
2665 | find mustInstanceOfConstellationMission_class(problem,interpretation,container); | 3194 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,container); |
2666 | find mayInstanceOfCubeSat6U_class(problem,interpretation,newObject); | 3195 | find mayInstanceOfDirectedCommunicationLink_class(problem,interpretation,newObject); |
2667 | find mayInRelationspacecraft_reference_ConstellationMission(problem,interpretation,container,newObject); | 3196 | find mayInRelationcommunicationLink_reference_CommunicatingElement(problem,interpretation,container,newObject); |
2668 | find mustExist(problem, interpretation, container); | 3197 | find mustExist(problem, interpretation, container); |
2669 | neg find mustExist(problem, interpretation, newObject); | 3198 | neg find mustExist(problem, interpretation, newObject); |
2670 | } | 3199 | } |
2671 | pattern createObject_CubeSat6U_class( | 3200 | pattern createObject_DirectedCommunicationLink_class( |
2672 | problem:LogicProblem, interpretation:PartialInterpretation, | 3201 | problem:LogicProblem, interpretation:PartialInterpretation, |
2673 | typeInterpretation:PartialComplexTypeInterpretation) | 3202 | typeInterpretation:PartialComplexTypeInterpretation) |
2674 | { | 3203 | { |
2675 | find interpretation(problem,interpretation); | 3204 | find interpretation(problem,interpretation); |
2676 | neg find hasElementInContainment(problem,interpretation); | 3205 | neg find hasElementInContainment(problem,interpretation); |
2677 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); | 3206 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); |
2678 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"CubeSat6U class"); | 3207 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"DirectedCommunicationLink class"); |
2679 | find mayInstanceOfCubeSat6U_class(problem,interpretation,newObject); | 3208 | find mayInstanceOfDirectedCommunicationLink_class(problem,interpretation,newObject); |
2680 | find mayExist(problem, interpretation, newObject); | 3209 | find mayExist(problem, interpretation, newObject); |
2681 | neg find mustExist(problem, interpretation, newObject); | 3210 | neg find mustExist(problem, interpretation, newObject); |
2682 | } | 3211 | } |
2683 | pattern createObject_CommSubsystem_class_UndefinedPart_by_commSubsystem_reference_CommunicatingElement( | 3212 | pattern createObject_InterferometryMission_class_UndefinedPart( |
2684 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
2685 | relationInterpretation:PartialRelationInterpretation, typeInterpretation:PartialComplexTypeInterpretation, | ||
2686 | container:DefinedElement) | ||
2687 | { | ||
2688 | find interpretation(problem,interpretation); | ||
2689 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); | ||
2690 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"CommSubsystem class UndefinedPart"); | ||
2691 | PartialInterpretation.partialrelationinterpretation(interpretation,relationInterpretation); | ||
2692 | PartialRelationInterpretation.interpretationOf.name(relationInterpretation,"commSubsystem reference CommunicatingElement"); | ||
2693 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,container); | ||
2694 | find mayInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,newObject); | ||
2695 | find mayInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,container,newObject); | ||
2696 | find mustExist(problem, interpretation, container); | ||
2697 | neg find mustExist(problem, interpretation, newObject); | ||
2698 | } | ||
2699 | pattern createObject_CommSubsystem_class_UndefinedPart( | ||
2700 | problem:LogicProblem, interpretation:PartialInterpretation, | 3213 | problem:LogicProblem, interpretation:PartialInterpretation, |
2701 | typeInterpretation:PartialComplexTypeInterpretation) | 3214 | typeInterpretation:PartialComplexTypeInterpretation) |
2702 | { | 3215 | { |
2703 | find interpretation(problem,interpretation); | 3216 | find interpretation(problem,interpretation); |
2704 | neg find hasElementInContainment(problem,interpretation); | 3217 | neg find hasElementInContainment(problem,interpretation); |
2705 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); | 3218 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); |
2706 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"CommSubsystem class UndefinedPart"); | 3219 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"InterferometryMission class UndefinedPart"); |
2707 | find mayInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,newObject); | 3220 | find mayInstanceOfInterferometryMission_class_UndefinedPart(problem,interpretation,newObject); |
2708 | find mayExist(problem, interpretation, newObject); | 3221 | find mayExist(problem, interpretation, newObject); |
2709 | neg find mustExist(problem, interpretation, newObject); | 3222 | neg find mustExist(problem, interpretation, newObject); |
2710 | } | 3223 | } |
@@ -2736,31 +3249,31 @@ pattern createObject_InterferometryPayload_class( | |||
2736 | find mayExist(problem, interpretation, newObject); | 3249 | find mayExist(problem, interpretation, newObject); |
2737 | neg find mustExist(problem, interpretation, newObject); | 3250 | neg find mustExist(problem, interpretation, newObject); |
2738 | } | 3251 | } |
2739 | pattern createObject_SmallSat_class_by_spacecraft_reference_ConstellationMission( | 3252 | pattern createObject_GroundStationNetwork_class_UndefinedPart_by_groundStationNetwork_reference_ConstellationMission( |
2740 | problem:LogicProblem, interpretation:PartialInterpretation, | 3253 | problem:LogicProblem, interpretation:PartialInterpretation, |
2741 | relationInterpretation:PartialRelationInterpretation, typeInterpretation:PartialComplexTypeInterpretation, | 3254 | relationInterpretation:PartialRelationInterpretation, typeInterpretation:PartialComplexTypeInterpretation, |
2742 | container:DefinedElement) | 3255 | container:DefinedElement) |
2743 | { | 3256 | { |
2744 | find interpretation(problem,interpretation); | 3257 | find interpretation(problem,interpretation); |
2745 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); | 3258 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); |
2746 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"SmallSat class"); | 3259 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"GroundStationNetwork class UndefinedPart"); |
2747 | PartialInterpretation.partialrelationinterpretation(interpretation,relationInterpretation); | 3260 | PartialInterpretation.partialrelationinterpretation(interpretation,relationInterpretation); |
2748 | PartialRelationInterpretation.interpretationOf.name(relationInterpretation,"spacecraft reference ConstellationMission"); | 3261 | PartialRelationInterpretation.interpretationOf.name(relationInterpretation,"groundStationNetwork reference ConstellationMission"); |
2749 | find mustInstanceOfConstellationMission_class(problem,interpretation,container); | 3262 | find mustInstanceOfConstellationMission_class(problem,interpretation,container); |
2750 | find mayInstanceOfSmallSat_class(problem,interpretation,newObject); | 3263 | find mayInstanceOfGroundStationNetwork_class_UndefinedPart(problem,interpretation,newObject); |
2751 | find mayInRelationspacecraft_reference_ConstellationMission(problem,interpretation,container,newObject); | 3264 | find mayInRelationgroundStationNetwork_reference_ConstellationMission(problem,interpretation,container,newObject); |
2752 | find mustExist(problem, interpretation, container); | 3265 | find mustExist(problem, interpretation, container); |
2753 | neg find mustExist(problem, interpretation, newObject); | 3266 | neg find mustExist(problem, interpretation, newObject); |
2754 | } | 3267 | } |
2755 | pattern createObject_SmallSat_class( | 3268 | pattern createObject_GroundStationNetwork_class_UndefinedPart( |
2756 | problem:LogicProblem, interpretation:PartialInterpretation, | 3269 | problem:LogicProblem, interpretation:PartialInterpretation, |
2757 | typeInterpretation:PartialComplexTypeInterpretation) | 3270 | typeInterpretation:PartialComplexTypeInterpretation) |
2758 | { | 3271 | { |
2759 | find interpretation(problem,interpretation); | 3272 | find interpretation(problem,interpretation); |
2760 | neg find hasElementInContainment(problem,interpretation); | 3273 | neg find hasElementInContainment(problem,interpretation); |
2761 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); | 3274 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); |
2762 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"SmallSat class"); | 3275 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"GroundStationNetwork class UndefinedPart"); |
2763 | find mayInstanceOfSmallSat_class(problem,interpretation,newObject); | 3276 | find mayInstanceOfGroundStationNetwork_class_UndefinedPart(problem,interpretation,newObject); |
2764 | find mayExist(problem, interpretation, newObject); | 3277 | find mayExist(problem, interpretation, newObject); |
2765 | neg find mustExist(problem, interpretation, newObject); | 3278 | neg find mustExist(problem, interpretation, newObject); |
2766 | } | 3279 | } |
@@ -2792,71 +3305,87 @@ pattern createObject_CubeSat3U_class( | |||
2792 | find mayExist(problem, interpretation, newObject); | 3305 | find mayExist(problem, interpretation, newObject); |
2793 | neg find mustExist(problem, interpretation, newObject); | 3306 | neg find mustExist(problem, interpretation, newObject); |
2794 | } | 3307 | } |
2795 | pattern createObject_GroundStationNetwork_class_UndefinedPart_by_groundStationNetwork_reference_ConstellationMission( | 3308 | pattern createObject_SmallSat_class_by_spacecraft_reference_ConstellationMission( |
2796 | problem:LogicProblem, interpretation:PartialInterpretation, | 3309 | problem:LogicProblem, interpretation:PartialInterpretation, |
2797 | relationInterpretation:PartialRelationInterpretation, typeInterpretation:PartialComplexTypeInterpretation, | 3310 | relationInterpretation:PartialRelationInterpretation, typeInterpretation:PartialComplexTypeInterpretation, |
2798 | container:DefinedElement) | 3311 | container:DefinedElement) |
2799 | { | 3312 | { |
2800 | find interpretation(problem,interpretation); | 3313 | find interpretation(problem,interpretation); |
2801 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); | 3314 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); |
2802 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"GroundStationNetwork class UndefinedPart"); | 3315 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"SmallSat class"); |
2803 | PartialInterpretation.partialrelationinterpretation(interpretation,relationInterpretation); | 3316 | PartialInterpretation.partialrelationinterpretation(interpretation,relationInterpretation); |
2804 | PartialRelationInterpretation.interpretationOf.name(relationInterpretation,"groundStationNetwork reference ConstellationMission"); | 3317 | PartialRelationInterpretation.interpretationOf.name(relationInterpretation,"spacecraft reference ConstellationMission"); |
2805 | find mustInstanceOfConstellationMission_class(problem,interpretation,container); | 3318 | find mustInstanceOfConstellationMission_class(problem,interpretation,container); |
2806 | find mayInstanceOfGroundStationNetwork_class_UndefinedPart(problem,interpretation,newObject); | 3319 | find mayInstanceOfSmallSat_class(problem,interpretation,newObject); |
2807 | find mayInRelationgroundStationNetwork_reference_ConstellationMission(problem,interpretation,container,newObject); | 3320 | find mayInRelationspacecraft_reference_ConstellationMission(problem,interpretation,container,newObject); |
2808 | find mustExist(problem, interpretation, container); | 3321 | find mustExist(problem, interpretation, container); |
2809 | neg find mustExist(problem, interpretation, newObject); | 3322 | neg find mustExist(problem, interpretation, newObject); |
2810 | } | 3323 | } |
2811 | pattern createObject_GroundStationNetwork_class_UndefinedPart( | 3324 | pattern createObject_SmallSat_class( |
2812 | problem:LogicProblem, interpretation:PartialInterpretation, | 3325 | problem:LogicProblem, interpretation:PartialInterpretation, |
2813 | typeInterpretation:PartialComplexTypeInterpretation) | 3326 | typeInterpretation:PartialComplexTypeInterpretation) |
2814 | { | 3327 | { |
2815 | find interpretation(problem,interpretation); | 3328 | find interpretation(problem,interpretation); |
2816 | neg find hasElementInContainment(problem,interpretation); | 3329 | neg find hasElementInContainment(problem,interpretation); |
2817 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); | 3330 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); |
2818 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"GroundStationNetwork class UndefinedPart"); | 3331 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"SmallSat class"); |
2819 | find mayInstanceOfGroundStationNetwork_class_UndefinedPart(problem,interpretation,newObject); | 3332 | find mayInstanceOfSmallSat_class(problem,interpretation,newObject); |
2820 | find mayExist(problem, interpretation, newObject); | 3333 | find mayExist(problem, interpretation, newObject); |
2821 | neg find mustExist(problem, interpretation, newObject); | 3334 | neg find mustExist(problem, interpretation, newObject); |
2822 | } | 3335 | } |
2823 | pattern createObject_DirectedCommunicationLink_class_by_communicationLink_reference_CommunicatingElement( | 3336 | pattern createObject_CommSubsystem_class_UndefinedPart_by_commSubsystem_reference_CommunicatingElement( |
2824 | problem:LogicProblem, interpretation:PartialInterpretation, | 3337 | problem:LogicProblem, interpretation:PartialInterpretation, |
2825 | relationInterpretation:PartialRelationInterpretation, typeInterpretation:PartialComplexTypeInterpretation, | 3338 | relationInterpretation:PartialRelationInterpretation, typeInterpretation:PartialComplexTypeInterpretation, |
2826 | container:DefinedElement) | 3339 | container:DefinedElement) |
2827 | { | 3340 | { |
2828 | find interpretation(problem,interpretation); | 3341 | find interpretation(problem,interpretation); |
2829 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); | 3342 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); |
2830 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"DirectedCommunicationLink class"); | 3343 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"CommSubsystem class UndefinedPart"); |
2831 | PartialInterpretation.partialrelationinterpretation(interpretation,relationInterpretation); | 3344 | PartialInterpretation.partialrelationinterpretation(interpretation,relationInterpretation); |
2832 | PartialRelationInterpretation.interpretationOf.name(relationInterpretation,"communicationLink reference CommunicatingElement"); | 3345 | PartialRelationInterpretation.interpretationOf.name(relationInterpretation,"commSubsystem reference CommunicatingElement"); |
2833 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,container); | 3346 | find mustInstanceOfCommunicatingElement_class(problem,interpretation,container); |
2834 | find mayInstanceOfDirectedCommunicationLink_class(problem,interpretation,newObject); | 3347 | find mayInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,newObject); |
2835 | find mayInRelationcommunicationLink_reference_CommunicatingElement(problem,interpretation,container,newObject); | 3348 | find mayInRelationcommSubsystem_reference_CommunicatingElement(problem,interpretation,container,newObject); |
2836 | find mustExist(problem, interpretation, container); | 3349 | find mustExist(problem, interpretation, container); |
2837 | neg find mustExist(problem, interpretation, newObject); | 3350 | neg find mustExist(problem, interpretation, newObject); |
2838 | } | 3351 | } |
2839 | pattern createObject_DirectedCommunicationLink_class( | 3352 | pattern createObject_CommSubsystem_class_UndefinedPart( |
2840 | problem:LogicProblem, interpretation:PartialInterpretation, | 3353 | problem:LogicProblem, interpretation:PartialInterpretation, |
2841 | typeInterpretation:PartialComplexTypeInterpretation) | 3354 | typeInterpretation:PartialComplexTypeInterpretation) |
2842 | { | 3355 | { |
2843 | find interpretation(problem,interpretation); | 3356 | find interpretation(problem,interpretation); |
2844 | neg find hasElementInContainment(problem,interpretation); | 3357 | neg find hasElementInContainment(problem,interpretation); |
2845 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); | 3358 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); |
2846 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"DirectedCommunicationLink class"); | 3359 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"CommSubsystem class UndefinedPart"); |
2847 | find mayInstanceOfDirectedCommunicationLink_class(problem,interpretation,newObject); | 3360 | find mayInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,newObject); |
2848 | find mayExist(problem, interpretation, newObject); | 3361 | find mayExist(problem, interpretation, newObject); |
2849 | neg find mustExist(problem, interpretation, newObject); | 3362 | neg find mustExist(problem, interpretation, newObject); |
2850 | } | 3363 | } |
2851 | pattern createObject_InterferometryMission_class_UndefinedPart( | 3364 | pattern createObject_CubeSat6U_class_by_spacecraft_reference_ConstellationMission( |
3365 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
3366 | relationInterpretation:PartialRelationInterpretation, typeInterpretation:PartialComplexTypeInterpretation, | ||
3367 | container:DefinedElement) | ||
3368 | { | ||
3369 | find interpretation(problem,interpretation); | ||
3370 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); | ||
3371 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"CubeSat6U class"); | ||
3372 | PartialInterpretation.partialrelationinterpretation(interpretation,relationInterpretation); | ||
3373 | PartialRelationInterpretation.interpretationOf.name(relationInterpretation,"spacecraft reference ConstellationMission"); | ||
3374 | find mustInstanceOfConstellationMission_class(problem,interpretation,container); | ||
3375 | find mayInstanceOfCubeSat6U_class(problem,interpretation,newObject); | ||
3376 | find mayInRelationspacecraft_reference_ConstellationMission(problem,interpretation,container,newObject); | ||
3377 | find mustExist(problem, interpretation, container); | ||
3378 | neg find mustExist(problem, interpretation, newObject); | ||
3379 | } | ||
3380 | pattern createObject_CubeSat6U_class( | ||
2852 | problem:LogicProblem, interpretation:PartialInterpretation, | 3381 | problem:LogicProblem, interpretation:PartialInterpretation, |
2853 | typeInterpretation:PartialComplexTypeInterpretation) | 3382 | typeInterpretation:PartialComplexTypeInterpretation) |
2854 | { | 3383 | { |
2855 | find interpretation(problem,interpretation); | 3384 | find interpretation(problem,interpretation); |
2856 | neg find hasElementInContainment(problem,interpretation); | 3385 | neg find hasElementInContainment(problem,interpretation); |
2857 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); | 3386 | PartialInterpretation.partialtypeinterpratation(interpretation,typeInterpretation); |
2858 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"InterferometryMission class UndefinedPart"); | 3387 | PartialComplexTypeInterpretation.interpretationOf.name(typeInterpretation,"CubeSat6U class"); |
2859 | find mayInstanceOfInterferometryMission_class_UndefinedPart(problem,interpretation,newObject); | 3388 | find mayInstanceOfCubeSat6U_class(problem,interpretation,newObject); |
2860 | find mayExist(problem, interpretation, newObject); | 3389 | find mayExist(problem, interpretation, newObject); |
2861 | neg find mustExist(problem, interpretation, newObject); | 3390 | neg find mustExist(problem, interpretation, newObject); |
2862 | } | 3391 | } |
@@ -2864,95 +3393,94 @@ pattern createObject_InterferometryMission_class_UndefinedPart( | |||
2864 | ////////// | 3393 | ////////// |
2865 | // 4.2 Type refinement | 3394 | // 4.2 Type refinement |
2866 | ////////// | 3395 | ////////// |
2867 | pattern refineTypeTo_CubeSat6U_class(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { | 3396 | pattern refineTypeTo_DirectedCommunicationLink_class(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { |
2868 | find interpretation(problem,interpretation); | 3397 | find interpretation(problem,interpretation); |
2869 | PartialInterpretation.newElements(interpretation,element); | 3398 | PartialInterpretation.newElements(interpretation,element); |
2870 | find mayInstanceOfCubeSat6U_class(problem,interpretation,element); | 3399 | find mayInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
2871 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
2872 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
2873 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
2874 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
2875 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
2876 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 3400 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
3401 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
2877 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 3402 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
2878 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 3403 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
3404 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
2879 | } | 3405 | } |
2880 | pattern refineTypeTo_CommSubsystem_class_UndefinedPart(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { | 3406 | pattern refineTypeTo_InterferometryMission_class_UndefinedPart(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { |
2881 | find interpretation(problem,interpretation); | 3407 | find interpretation(problem,interpretation); |
2882 | PartialInterpretation.newElements(interpretation,element); | 3408 | PartialInterpretation.newElements(interpretation,element); |
2883 | find mayInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,element); | 3409 | find mayInstanceOfInterferometryMission_class_UndefinedPart(problem,interpretation,element); |
2884 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
2885 | neg find mustInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,element); | ||
2886 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
2887 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 3410 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
2888 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 3411 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
3412 | neg find mustInstanceOfInterferometryMission_class_UndefinedPart(problem,interpretation,element); | ||
3413 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
3414 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
2889 | } | 3415 | } |
2890 | pattern refineTypeTo_InterferometryPayload_class(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { | 3416 | pattern refineTypeTo_InterferometryPayload_class(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { |
2891 | find interpretation(problem,interpretation); | 3417 | find interpretation(problem,interpretation); |
2892 | PartialInterpretation.newElements(interpretation,element); | 3418 | PartialInterpretation.newElements(interpretation,element); |
2893 | find mayInstanceOfInterferometryPayload_class(problem,interpretation,element); | 3419 | find mayInstanceOfInterferometryPayload_class(problem,interpretation,element); |
3420 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
3421 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | ||
2894 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | 3422 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); |
2895 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | 3423 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
2896 | neg find mustInstanceOfInterferometryPayload_class(problem,interpretation,element); | 3424 | neg find mustInstanceOfInterferometryPayload_class(problem,interpretation,element); |
2897 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | ||
2898 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | ||
2899 | } | 3425 | } |
2900 | pattern refineTypeTo_SmallSat_class(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { | 3426 | pattern refineTypeTo_GroundStationNetwork_class_UndefinedPart(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { |
2901 | find interpretation(problem,interpretation); | 3427 | find interpretation(problem,interpretation); |
2902 | PartialInterpretation.newElements(interpretation,element); | 3428 | PartialInterpretation.newElements(interpretation,element); |
2903 | find mayInstanceOfSmallSat_class(problem,interpretation,element); | 3429 | find mayInstanceOfGroundStationNetwork_class_UndefinedPart(problem,interpretation,element); |
2904 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
2905 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
2906 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
2907 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
2908 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
2909 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 3430 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
3431 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
2910 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 3432 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
2911 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 3433 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); |
3434 | neg find mustInstanceOfGroundStationNetwork_class_UndefinedPart(problem,interpretation,element); | ||
3435 | neg find mustInstanceOfSpacecraft_class(problem,interpretation,element); | ||
2912 | } | 3436 | } |
2913 | pattern refineTypeTo_CubeSat3U_class(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { | 3437 | pattern refineTypeTo_CubeSat3U_class(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { |
2914 | find interpretation(problem,interpretation); | 3438 | find interpretation(problem,interpretation); |
2915 | PartialInterpretation.newElements(interpretation,element); | 3439 | PartialInterpretation.newElements(interpretation,element); |
2916 | find mayInstanceOfCubeSat3U_class(problem,interpretation,element); | 3440 | find mayInstanceOfCubeSat3U_class(problem,interpretation,element); |
2917 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
2918 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
2919 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
2920 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
2921 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
2922 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 3441 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
2923 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 3442 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
2924 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | 3443 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); |
3444 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | ||
3445 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
3446 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
3447 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
3448 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
2925 | } | 3449 | } |
2926 | pattern refineTypeTo_GroundStationNetwork_class_UndefinedPart(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { | 3450 | pattern refineTypeTo_SmallSat_class(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { |
2927 | find interpretation(problem,interpretation); | 3451 | find interpretation(problem,interpretation); |
2928 | PartialInterpretation.newElements(interpretation,element); | 3452 | PartialInterpretation.newElements(interpretation,element); |
2929 | find mayInstanceOfGroundStationNetwork_class_UndefinedPart(problem,interpretation,element); | 3453 | find mayInstanceOfSmallSat_class(problem,interpretation,element); |
2930 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
2931 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
2932 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 3454 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
2933 | neg find mustInstanceOfGroundStationNetwork_class_UndefinedPart(problem,interpretation,element); | 3455 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
2934 | neg find mustInstanceOfSpacecraft_class(problem,interpretation,element); | 3456 | neg find mustInstanceOfCubeSat_class(problem,interpretation,element); |
3457 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | ||
2935 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 3458 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
3459 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
3460 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
2936 | } | 3461 | } |
2937 | pattern refineTypeTo_DirectedCommunicationLink_class(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { | 3462 | pattern refineTypeTo_CommSubsystem_class_UndefinedPart(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { |
2938 | find interpretation(problem,interpretation); | 3463 | find interpretation(problem,interpretation); |
2939 | PartialInterpretation.newElements(interpretation,element); | 3464 | PartialInterpretation.newElements(interpretation,element); |
2940 | find mayInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 3465 | find mayInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,element); |
2941 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
2942 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
2943 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
2944 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 3466 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
3467 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
2945 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | 3468 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); |
3469 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
3470 | neg find mustInstanceOfCommSubsystem_class_UndefinedPart(problem,interpretation,element); | ||
2946 | } | 3471 | } |
2947 | pattern refineTypeTo_InterferometryMission_class_UndefinedPart(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { | 3472 | pattern refineTypeTo_CubeSat6U_class(problem:LogicProblem, interpretation:PartialInterpretation, element: DefinedElement) { |
2948 | find interpretation(problem,interpretation); | 3473 | find interpretation(problem,interpretation); |
2949 | PartialInterpretation.newElements(interpretation,element); | 3474 | PartialInterpretation.newElements(interpretation,element); |
2950 | find mayInstanceOfInterferometryMission_class_UndefinedPart(problem,interpretation,element); | 3475 | find mayInstanceOfCubeSat6U_class(problem,interpretation,element); |
2951 | neg find mustInstanceOfCommunicatingElement_class(problem,interpretation,element); | ||
2952 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
2953 | neg find mustInstanceOfPayload_class(problem,interpretation,element); | ||
2954 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); | 3476 | neg find mustInstanceOfDirectedCommunicationLink_class(problem,interpretation,element); |
2955 | neg find mustInstanceOfInterferometryMission_class_UndefinedPart(problem,interpretation,element); | 3477 | neg find mustInstanceOfPayload_class(problem,interpretation,element); |
3478 | neg find mustInstanceOfConstellationMission_class(problem,interpretation,element); | ||
3479 | neg find mustInstanceOfGroundStationNetwork_class(problem,interpretation,element); | ||
3480 | neg find mustInstanceOfCommSubsystem_class(problem,interpretation,element); | ||
3481 | neg find mustInstanceOfCubeSat3U_class(problem,interpretation,element); | ||
3482 | neg find mustInstanceOfSmallSat_class(problem,interpretation,element); | ||
3483 | neg find mustInstanceOfCubeSat6U_class(problem,interpretation,element); | ||
2956 | } | 3484 | } |
2957 | 3485 | ||
2958 | ////////// | 3486 | ////////// |
@@ -2988,6 +3516,21 @@ pattern refineRelation_target_reference_DirectedCommunicationLink( | |||
2988 | find mayInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,from,to); | 3516 | find mayInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,from,to); |
2989 | neg find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,from,to); | 3517 | neg find mustInRelationtarget_reference_DirectedCommunicationLink(problem,interpretation,from,to); |
2990 | } | 3518 | } |
3519 | pattern refineRelation_kind_attribute_Spacecraft( | ||
3520 | problem:LogicProblem, interpretation:PartialInterpretation, | ||
3521 | relationIterpretation:PartialRelationInterpretation, | ||
3522 | from: DefinedElement, to: DefinedElement) | ||
3523 | { | ||
3524 | find interpretation(problem,interpretation); | ||
3525 | PartialInterpretation.partialrelationinterpretation(interpretation,relationIterpretation); | ||
3526 | PartialRelationInterpretation.interpretationOf.name(relationIterpretation,"kind attribute Spacecraft"); | ||
3527 | find mustExist(problem, interpretation, from); | ||
3528 | find mustExist(problem, interpretation, to); | ||
3529 | find mustInstanceOfSpacecraft_class(problem,interpretation,from); | ||
3530 | find mustInstanceOfSpacecraftKind_enum(problem,interpretation,to); | ||
3531 | find mayInRelationkind_attribute_Spacecraft(problem,interpretation,from,to); | ||
3532 | neg find mustInRelationkind_attribute_Spacecraft(problem,interpretation,from,to); | ||
3533 | } | ||
2991 | pattern refineRelation_band_attribute_CommSubsystem( | 3534 | pattern refineRelation_band_attribute_CommSubsystem( |
2992 | problem:LogicProblem, interpretation:PartialInterpretation, | 3535 | problem:LogicProblem, interpretation:PartialInterpretation, |
2993 | relationIterpretation:PartialRelationInterpretation, | 3536 | relationIterpretation:PartialRelationInterpretation, |