@tuprolog/arg2p 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,501 @@
1
+ (function (root, factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './kotlin-kotlin-stdlib.js', './2p-core.js', './2p-unify.js', './2p-parser-core.js', './arg2p-core.js', './2p-theory.js', './2p-solve.js', './2p-parser-theory.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./2p-core.js'), require('./2p-unify.js'), require('./2p-parser-core.js'), require('./arg2p-core.js'), require('./2p-theory.js'), require('./2p-solve.js'), require('./2p-parser-theory.js'));
6
+ else {
7
+ if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
8
+ throw new Error("Error loading module 'arg2p-causality-solver'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'arg2p-causality-solver'.");
9
+ }
10
+ if (typeof this['2p-core'] === 'undefined') {
11
+ throw new Error("Error loading module 'arg2p-causality-solver'. Its dependency '2p-core' was not found. Please, check whether '2p-core' is loaded prior to 'arg2p-causality-solver'.");
12
+ }
13
+ if (typeof this['2p-unify'] === 'undefined') {
14
+ throw new Error("Error loading module 'arg2p-causality-solver'. Its dependency '2p-unify' was not found. Please, check whether '2p-unify' is loaded prior to 'arg2p-causality-solver'.");
15
+ }
16
+ if (typeof this['2p-parser-core'] === 'undefined') {
17
+ throw new Error("Error loading module 'arg2p-causality-solver'. Its dependency '2p-parser-core' was not found. Please, check whether '2p-parser-core' is loaded prior to 'arg2p-causality-solver'.");
18
+ }
19
+ if (typeof this['arg2p-core'] === 'undefined') {
20
+ throw new Error("Error loading module 'arg2p-causality-solver'. Its dependency 'arg2p-core' was not found. Please, check whether 'arg2p-core' is loaded prior to 'arg2p-causality-solver'.");
21
+ }
22
+ if (typeof this['2p-theory'] === 'undefined') {
23
+ throw new Error("Error loading module 'arg2p-causality-solver'. Its dependency '2p-theory' was not found. Please, check whether '2p-theory' is loaded prior to 'arg2p-causality-solver'.");
24
+ }
25
+ if (typeof this['2p-solve'] === 'undefined') {
26
+ throw new Error("Error loading module 'arg2p-causality-solver'. Its dependency '2p-solve' was not found. Please, check whether '2p-solve' is loaded prior to 'arg2p-causality-solver'.");
27
+ }
28
+ if (typeof this['2p-parser-theory'] === 'undefined') {
29
+ throw new Error("Error loading module 'arg2p-causality-solver'. Its dependency '2p-parser-theory' was not found. Please, check whether '2p-parser-theory' is loaded prior to 'arg2p-causality-solver'.");
30
+ }
31
+ root['arg2p-causality-solver'] = factory(typeof this['arg2p-causality-solver'] === 'undefined' ? {} : this['arg2p-causality-solver'], this['kotlin-kotlin-stdlib'], this['2p-core'], this['2p-unify'], this['2p-parser-core'], this['arg2p-core'], this['2p-theory'], this['2p-solve'], this['2p-parser-theory']);
32
+ }
33
+ }(this, function (_, kotlin_kotlin, kotlin_it_unibo_tuprolog_core, kotlin_it_unibo_tuprolog_unify, kotlin_it_unibo_tuprolog_parser_core, kotlin_it_unibo_tuprolog_argumentation_core, kotlin_it_unibo_tuprolog_theory, kotlin_it_unibo_tuprolog_solve, kotlin_it_unibo_tuprolog_parser_theory) {
34
+ 'use strict';
35
+ //region block: imports
36
+ var ensureNotNull = kotlin_kotlin.$_$.ca;
37
+ var Companion_getInstance = kotlin_it_unibo_tuprolog_core.$_$.v;
38
+ var filter = kotlin_kotlin.$_$.j7;
39
+ var map = kotlin_kotlin.$_$.v7;
40
+ var firstOrNull = kotlin_kotlin.$_$.k7;
41
+ var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_unify.$_$.b;
42
+ var Companion_instance = kotlin_it_unibo_tuprolog_core.$_$.w;
43
+ var parseTerm = kotlin_it_unibo_tuprolog_parser_core.$_$.e;
44
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
45
+ var Unit_instance = kotlin_kotlin.$_$.s1;
46
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.j2;
47
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
48
+ var addAll = kotlin_kotlin.$_$.z1;
49
+ var plus = kotlin_kotlin.$_$.d4;
50
+ var Arg2pSolverFactory_instance = kotlin_it_unibo_tuprolog_argumentation_core.$_$.d;
51
+ var emptyList = kotlin_kotlin.$_$.t2;
52
+ var VOID = kotlin_kotlin.$_$.d;
53
+ var FlagsBuilder = kotlin_it_unibo_tuprolog_argumentation_core.$_$.f;
54
+ var Graph = kotlin_it_unibo_tuprolog_argumentation_core.$_$.k;
55
+ var asSequence = kotlin_kotlin.$_$.h2;
56
+ var flatMap = kotlin_kotlin.$_$.n7;
57
+ var toList = kotlin_kotlin.$_$.j8;
58
+ var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_core.$_$.l;
59
+ var Companion_getInstance_2 = kotlin_it_unibo_tuprolog_core.$_$.u;
60
+ var Default_getInstance = kotlin_kotlin.$_$.o1;
61
+ var nextUInt = kotlin_kotlin.$_$.n6;
62
+ var UInt = kotlin_kotlin.$_$.ba;
63
+ var parseStruct = kotlin_it_unibo_tuprolog_parser_core.$_$.d;
64
+ var Companion_instance_0 = kotlin_it_unibo_tuprolog_theory.$_$.b;
65
+ var Collection = kotlin_kotlin.$_$.t1;
66
+ var isInterface = kotlin_kotlin.$_$.r5;
67
+ var arg2pScope = kotlin_it_unibo_tuprolog_argumentation_core.$_$.e;
68
+ var Signature = kotlin_it_unibo_tuprolog_solve.$_$.t2;
69
+ var protoOf = kotlin_kotlin.$_$.b6;
70
+ var sequenceOf = kotlin_kotlin.$_$.b8;
71
+ var classMeta = kotlin_kotlin.$_$.f5;
72
+ var setMetadataFor = kotlin_kotlin.$_$.c6;
73
+ var Companion_instance_1 = kotlin_it_unibo_tuprolog_solve.$_$.b1;
74
+ var Expected_VARIABLE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.c;
75
+ var Var = kotlin_it_unibo_tuprolog_core.$_$.t2;
76
+ var toList_0 = kotlin_kotlin.$_$.l4;
77
+ var toString = kotlin_kotlin.$_$.g6;
78
+ var Companion_instance_2 = kotlin_it_unibo_tuprolog_argumentation_core.$_$.a;
79
+ var Companion_instance_3 = kotlin_it_unibo_tuprolog_argumentation_core.$_$.b;
80
+ var Companion_getInstance_3 = kotlin_it_unibo_tuprolog_core.$_$.i;
81
+ var replace = kotlin_kotlin.$_$.z8;
82
+ var listOf = kotlin_kotlin.$_$.k3;
83
+ var Companion_getInstance_4 = kotlin_it_unibo_tuprolog_solve.$_$.h1;
84
+ var mapCapacity = kotlin_kotlin.$_$.l3;
85
+ var coerceAtLeast = kotlin_kotlin.$_$.s6;
86
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.g;
87
+ var parseTheoryWithOperators = kotlin_it_unibo_tuprolog_parser_theory.$_$.b;
88
+ var content = kotlin_it_unibo_tuprolog_argumentation_core.$_$.g;
89
+ var ArgLibrary = kotlin_it_unibo_tuprolog_argumentation_core.$_$.h;
90
+ var Loadable = kotlin_it_unibo_tuprolog_argumentation_core.$_$.i;
91
+ //endregion
92
+ //region block: pre-declaration
93
+ setMetadataFor(CausalityCheckIntervention, 'CausalityCheckIntervention', classMeta);
94
+ setMetadataFor(CausalityCheckCause, 'CausalityCheckCause', classMeta);
95
+ setMetadataFor(CausalitySolver, 'CausalitySolver', classMeta, VOID, [ArgLibrary, Loadable], CausalitySolver);
96
+ //endregion
97
+ function CausalitySolver$CausalityCheckCause$solve$lambda$lambda(it) {
98
+ return it.u1w();
99
+ }
100
+ function CausalitySolver$CausalityCheckCause$solve$lambda$lambda_0($this_arg2pScope) {
101
+ return function (it) {
102
+ return ensureNotNull(it.m1v().x2($this_arg2pScope.c1h())).castToList();
103
+ };
104
+ }
105
+ function CausalitySolver$CausalityCheckCause$solve$lambda$lambda_1(this$0, $request, $effect) {
106
+ return function (it) {
107
+ return checkCausality(this$0, $request, it, $effect);
108
+ };
109
+ }
110
+ function CausalitySolver$CausalityCheckCause$solve$lambda$lambda_2($intervention) {
111
+ return function (it) {
112
+ return Companion_getInstance().of($intervention, it);
113
+ };
114
+ }
115
+ function CausalitySolver$CausalityCheckCause$solve$lambda($request, $rules, $cause, this$0, $effect, $intervention) {
116
+ return function ($this$arg2pScope) {
117
+ var tmp = $request.solve($this$arg2pScope.stringInvoke('generate_interventions', $rules, [$cause, $this$arg2pScope.c1h()]));
118
+ var tmp_0 = filter(tmp, CausalitySolver$CausalityCheckCause$solve$lambda$lambda);
119
+ var tmp_1 = map(tmp_0, CausalitySolver$CausalityCheckCause$solve$lambda$lambda_0($this$arg2pScope));
120
+ var tmp_2 = filter(tmp_1, CausalitySolver$CausalityCheckCause$solve$lambda$lambda_1(this$0, $request, $effect));
121
+ var tmp0_elvis_lhs = firstOrNull(map(tmp_2, CausalitySolver$CausalityCheckCause$solve$lambda$lambda_2($intervention)));
122
+ return tmp0_elvis_lhs == null ? Companion_getInstance().failed() : tmp0_elvis_lhs;
123
+ };
124
+ }
125
+ function equalTerms($this, a, b) {
126
+ return Companion_getInstance_0().e1l().match(parseTerm(Companion_instance, a), parseTerm(Companion_instance, b));
127
+ }
128
+ function attackers($this, x, graph) {
129
+ // Inline function 'kotlin.collections.map' call
130
+ // Inline function 'kotlin.collections.filter' call
131
+ // Inline function 'kotlin.collections.filterTo' call
132
+ var this_0 = graph.z3l_1;
133
+ var destination = ArrayList_init_$Create$();
134
+ var tmp0_iterator = this_0.r();
135
+ while (tmp0_iterator.s()) {
136
+ var element = tmp0_iterator.u();
137
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.attackers.<anonymous>' call
138
+ if (element.t3l_1.l3l_1 === x.l3l_1) {
139
+ destination.o(element);
140
+ }
141
+ }
142
+ // Inline function 'kotlin.collections.mapTo' call
143
+ var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
144
+ var tmp0_iterator_0 = destination.r();
145
+ while (tmp0_iterator_0.s()) {
146
+ var item = tmp0_iterator_0.u();
147
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.attackers.<anonymous>' call
148
+ // Inline function 'kotlin.collections.find' call
149
+ var this_1 = graph.b3m_1;
150
+ var tmp$ret$4;
151
+ $l$block: {
152
+ // Inline function 'kotlin.collections.firstOrNull' call
153
+ var tmp0_iterator_1 = this_1.r();
154
+ while (tmp0_iterator_1.s()) {
155
+ var element_0 = tmp0_iterator_1.u();
156
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.attackers.<anonymous>.<anonymous>' call
157
+ if (item.s3l_1.l3l_1 === element_0.w3l_1.l3l_1) {
158
+ tmp$ret$4 = element_0;
159
+ break $l$block;
160
+ }
161
+ }
162
+ tmp$ret$4 = null;
163
+ }
164
+ var tmp$ret$5 = tmp$ret$4;
165
+ var tmp$ret$6 = ensureNotNull(tmp$ret$5);
166
+ destination_0.o(tmp$ret$6);
167
+ }
168
+ return destination_0;
169
+ }
170
+ function supporters($this, x, graph) {
171
+ // Inline function 'kotlin.collections.filter' call
172
+ // Inline function 'kotlin.collections.filterTo' call
173
+ var this_0 = graph.b3m_1;
174
+ var destination = ArrayList_init_$Create$();
175
+ var tmp0_iterator = this_0.r();
176
+ while (tmp0_iterator.s()) {
177
+ var element = tmp0_iterator.u();
178
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.supporters.<anonymous>' call
179
+ if (x.l3l_1 === element.w3l_1.l3l_1) {
180
+ destination.o(element);
181
+ }
182
+ }
183
+ var tmp = destination;
184
+ // Inline function 'kotlin.collections.flatMap' call
185
+ // Inline function 'kotlin.collections.flatMapTo' call
186
+ var this_1 = attackers($this, x, graph);
187
+ var destination_0 = ArrayList_init_$Create$();
188
+ var tmp0_iterator_0 = this_1.r();
189
+ while (tmp0_iterator_0.s()) {
190
+ var element_0 = tmp0_iterator_0.u();
191
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.supporters.<anonymous>' call
192
+ // Inline function 'kotlin.collections.flatMap' call
193
+ // Inline function 'kotlin.collections.flatMapTo' call
194
+ var this_2 = attackers($this, element_0.w3l_1, graph);
195
+ var destination_1 = ArrayList_init_$Create$();
196
+ var tmp0_iterator_1 = this_2.r();
197
+ while (tmp0_iterator_1.s()) {
198
+ var element_1 = tmp0_iterator_1.u();
199
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.supporters.<anonymous>.<anonymous>' call
200
+ var list = supporters($this, element_1.w3l_1, graph);
201
+ addAll(destination_1, list);
202
+ }
203
+ var list_0 = destination_1;
204
+ addAll(destination_0, list_0);
205
+ }
206
+ return plus(tmp, destination_0);
207
+ }
208
+ function solveFresh($this, kb) {
209
+ var tmp0_elvis_lhs = firstOrNull(Arg2pSolverFactory_instance.l3b(kb.toStringAsProlog(true), new FlagsBuilder(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, emptyList())));
210
+ return tmp0_elvis_lhs == null ? new Graph(emptyList(), emptyList(), emptyList()) : tmp0_elvis_lhs;
211
+ }
212
+ function getSupports($this, graph, effect) {
213
+ var tmp = asSequence(graph.b3m_1);
214
+ var tmp_0 = filter(tmp, CausalitySolver$getSupports$lambda($this, effect));
215
+ var tmp_1 = flatMap(tmp_0, CausalitySolver$getSupports$lambda_0($this, graph));
216
+ var tmp_2 = filter(tmp_1, CausalitySolver$getSupports$lambda_1);
217
+ return map(tmp_2, CausalitySolver$getSupports$lambda_2);
218
+ }
219
+ function checkBaseTheory($this, request, effect) {
220
+ // Inline function 'kotlin.let' call
221
+ // Inline function 'kotlin.contracts.contract' call
222
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.checkBaseTheory.<anonymous>' call
223
+ var it = solveFresh($this, request.context.s1v());
224
+ var tmp = getSupports($this, it, effect);
225
+ return toList(map(tmp, CausalitySolver$checkBaseTheory$lambda));
226
+ }
227
+ function checkIntervention($this, request, intervention, support) {
228
+ // Inline function 'kotlin.let' call
229
+ // Inline function 'kotlin.collections.map' call
230
+ var this_0 = intervention.toList();
231
+ // Inline function 'kotlin.collections.mapTo' call
232
+ var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
233
+ var tmp0_iterator = this_0.r();
234
+ while (tmp0_iterator.s()) {
235
+ var item = tmp0_iterator.u();
236
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.checkIntervention.<anonymous>' call
237
+ var tmp$ret$0 = Companion_getInstance_1().of(parseStruct(Companion_getInstance_2(), ':->(fk' + new UInt(nextUInt(Default_getInstance())) + ', ' + item + ')'), []);
238
+ destination.o(tmp$ret$0);
239
+ }
240
+ // Inline function 'kotlin.contracts.contract' call
241
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.checkIntervention.<anonymous>' call
242
+ // Inline function 'kotlin.let' call
243
+ // Inline function 'kotlin.contracts.contract' call
244
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.checkIntervention.<anonymous>.<anonymous>' call
245
+ var naf = solveFresh($this, request.context.s1v().plusTheory(Companion_instance_0.ofIterableWithDefaultUnificator(destination)));
246
+ var tmp$ret$9;
247
+ $l$block_2: {
248
+ // Inline function 'kotlin.collections.any' call
249
+ // Inline function 'kotlin.collections.map' call
250
+ // Inline function 'kotlin.collections.filter' call
251
+ // Inline function 'kotlin.collections.filterTo' call
252
+ var this_1 = naf.b3m_1;
253
+ var destination_0 = ArrayList_init_$Create$();
254
+ var tmp0_iterator_0 = this_1.r();
255
+ while (tmp0_iterator_0.s()) {
256
+ var element = tmp0_iterator_0.u();
257
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.checkIntervention.<anonymous>.<anonymous>.<anonymous>' call
258
+ if (element.x3l_1 === 'out' ? true : element.x3l_1 === 'und') {
259
+ destination_0.o(element);
260
+ }
261
+ }
262
+ // Inline function 'kotlin.collections.mapTo' call
263
+ var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_0, 10));
264
+ var tmp0_iterator_1 = destination_0.r();
265
+ while (tmp0_iterator_1.s()) {
266
+ var item_0 = tmp0_iterator_1.u();
267
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.checkIntervention.<anonymous>.<anonymous>.<anonymous>' call
268
+ var tmp$ret$6 = item_0.w3l_1.n3l();
269
+ destination_1.o(tmp$ret$6);
270
+ }
271
+ var tmp;
272
+ if (isInterface(destination_1, Collection)) {
273
+ tmp = destination_1.z();
274
+ } else {
275
+ tmp = false;
276
+ }
277
+ if (tmp) {
278
+ tmp$ret$9 = false;
279
+ break $l$block_2;
280
+ }
281
+ var tmp0_iterator_2 = destination_1.r();
282
+ while (tmp0_iterator_2.s()) {
283
+ var element_0 = tmp0_iterator_2.u();
284
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.checkIntervention.<anonymous>.<anonymous>.<anonymous>' call
285
+ var tmp$ret$10;
286
+ $l$block_1: {
287
+ // Inline function 'kotlin.collections.any' call
288
+ var tmp_0;
289
+ if (isInterface(support, Collection)) {
290
+ tmp_0 = support.z();
291
+ } else {
292
+ tmp_0 = false;
293
+ }
294
+ if (tmp_0) {
295
+ tmp$ret$10 = false;
296
+ break $l$block_1;
297
+ }
298
+ var tmp0_iterator_3 = support.r();
299
+ while (tmp0_iterator_3.s()) {
300
+ var element_1 = tmp0_iterator_3.u();
301
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.checkIntervention.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
302
+ if (Companion_getInstance_0().e1l().match(element_0, element_1)) {
303
+ tmp$ret$10 = true;
304
+ break $l$block_1;
305
+ }
306
+ }
307
+ tmp$ret$10 = false;
308
+ }
309
+ if (tmp$ret$10) {
310
+ tmp$ret$9 = true;
311
+ break $l$block_2;
312
+ }
313
+ }
314
+ tmp$ret$9 = false;
315
+ }
316
+ return tmp$ret$9;
317
+ }
318
+ function getSubsets($this, request, intervention) {
319
+ return arg2pScope(CausalitySolver$getSubsets$lambda(request, intervention));
320
+ }
321
+ function checkCausality($this, request, intervention, effect) {
322
+ var supports = checkBaseTheory($this, request, effect);
323
+ if (supports.z())
324
+ return false;
325
+ var tmp;
326
+ if (checkIntervention($this, request, intervention, supports)) {
327
+ var tmp_0;
328
+ if (intervention.ey() <= 1) {
329
+ tmp_0 = true;
330
+ } else {
331
+ var tmp$ret$0;
332
+ $l$block_0: {
333
+ // Inline function 'kotlin.collections.all' call
334
+ var this_0 = getSubsets($this, request, intervention);
335
+ var tmp_1;
336
+ if (isInterface(this_0, Collection)) {
337
+ tmp_1 = this_0.z();
338
+ } else {
339
+ tmp_1 = false;
340
+ }
341
+ if (tmp_1) {
342
+ tmp$ret$0 = true;
343
+ break $l$block_0;
344
+ }
345
+ var tmp0_iterator = this_0.r();
346
+ while (tmp0_iterator.s()) {
347
+ var element = tmp0_iterator.u();
348
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.checkCausality.<anonymous>' call
349
+ if (!!checkIntervention($this, request, element, supports)) {
350
+ tmp$ret$0 = false;
351
+ break $l$block_0;
352
+ }
353
+ }
354
+ tmp$ret$0 = true;
355
+ }
356
+ tmp_0 = tmp$ret$0;
357
+ }
358
+ tmp = tmp_0;
359
+ } else {
360
+ tmp = false;
361
+ }
362
+ return tmp;
363
+ }
364
+ function CausalityCheckIntervention($outer) {
365
+ this.j3p_1 = $outer;
366
+ this.i3p_1 = new Signature('evaluate_intervention', 2);
367
+ }
368
+ protoOf(CausalityCheckIntervention).d1v = function () {
369
+ return this.i3p_1;
370
+ };
371
+ protoOf(CausalityCheckIntervention).b2h = function (request) {
372
+ var intervention = request.arguments.d1(0).castToList();
373
+ var effect = this.j3p_1.m3p(request.arguments.d1(1).toString());
374
+ return sequenceOf([request.replyWithCondition(checkCausality(this.j3p_1, request, intervention, effect), VOID, [])]);
375
+ };
376
+ protoOf(CausalityCheckIntervention).solve = function (request) {
377
+ return this.b2h(request);
378
+ };
379
+ function CausalityCheckCause($outer) {
380
+ this.o3p_1 = $outer;
381
+ this.n3p_1 = new Signature('evaluate', 3);
382
+ }
383
+ protoOf(CausalityCheckCause).d1v = function () {
384
+ return this.n3p_1;
385
+ };
386
+ protoOf(CausalityCheckCause).b2h = function (request) {
387
+ var intervention = request.arguments.d1(0);
388
+ var cause = request.arguments.d1(1);
389
+ var effect = this.o3p_1.m3p(request.arguments.d1(2).toString());
390
+ if (!isInterface(intervention, Var)) {
391
+ throw Companion_instance_1.forGoal(request.context, request.signature, Expected_VARIABLE_getInstance(), intervention);
392
+ }
393
+ var tmp = Companion_instance;
394
+ // Inline function 'kotlin.collections.filter' call
395
+ // Inline function 'kotlin.collections.map' call
396
+ var this_0 = solveFresh(this.o3p_1, request.context.s1v()).y3l_1;
397
+ // Inline function 'kotlin.collections.mapTo' call
398
+ var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
399
+ var tmp0_iterator = this_0.r();
400
+ while (tmp0_iterator.s()) {
401
+ var item = tmp0_iterator.u();
402
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalityCheckCause.solve.<anonymous>' call
403
+ var tmp$ret$0 = item.e3l_1;
404
+ destination.o(tmp$ret$0);
405
+ }
406
+ // Inline function 'kotlin.collections.filterTo' call
407
+ var destination_0 = ArrayList_init_$Create$();
408
+ var tmp0_iterator_0 = destination.r();
409
+ while (tmp0_iterator_0.s()) {
410
+ var element = tmp0_iterator_0.u();
411
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalityCheckCause.solve.<anonymous>' call
412
+ if (!(element === 'none')) {
413
+ destination_0.o(element);
414
+ }
415
+ }
416
+ var rules = parseTerm(tmp, toString(toList_0(destination_0)));
417
+ return sequenceOf([request.replyWith(arg2pScope(CausalitySolver$CausalityCheckCause$solve$lambda(request, rules, cause, this.o3p_1, effect, intervention)), VOID, [])]);
418
+ };
419
+ protoOf(CausalityCheckCause).solve = function (request) {
420
+ return this.b2h(request);
421
+ };
422
+ function CausalitySolver$getSupports$lambda(this$0, $effect) {
423
+ return function (it) {
424
+ return it.x3l_1 === 'in' ? equalTerms(this$0, it.w3l_1.f3l_1, $effect) : false;
425
+ };
426
+ }
427
+ function CausalitySolver$getSupports$lambda_0(this$0, $graph) {
428
+ return function (it) {
429
+ return supporters(this$0, it.w3l_1, $graph);
430
+ };
431
+ }
432
+ function CausalitySolver$getSupports$lambda_1(it) {
433
+ return it.x3l_1 === 'in';
434
+ }
435
+ function CausalitySolver$getSupports$lambda_2(it) {
436
+ return it.w3l_1;
437
+ }
438
+ function CausalitySolver$checkBaseTheory$lambda(a) {
439
+ return a.n3l();
440
+ }
441
+ function CausalitySolver$getSubsets$lambda$lambda(it) {
442
+ return it.u1w();
443
+ }
444
+ function CausalitySolver$getSubsets$lambda$lambda_0($this_arg2pScope) {
445
+ return function (it) {
446
+ return ensureNotNull(it.m1v().x2($this_arg2pScope.c1h())).castToList();
447
+ };
448
+ }
449
+ function CausalitySolver$getSubsets$lambda($request, $intervention) {
450
+ return function ($this$arg2pScope) {
451
+ var tmp = $request.solve($this$arg2pScope.stringInvoke('proper_subsets', $intervention, [$this$arg2pScope.c1h()]));
452
+ var tmp_0 = filter(tmp, CausalitySolver$getSubsets$lambda$lambda);
453
+ return toList(map(tmp_0, CausalitySolver$getSubsets$lambda$lambda_0($this$arg2pScope)));
454
+ };
455
+ }
456
+ function CausalitySolver() {
457
+ this.k3p_1 = 'prolog.argumentation.causality.solver';
458
+ this.l3p_1 = Companion_instance_2.r3a().plusOperatorSet(Companion_instance_3.r3a()).plusOperatorSet(Companion_getInstance_3().DEFAULT);
459
+ }
460
+ protoOf(CausalitySolver).m3p = function (string) {
461
+ return replace(replace(string, ' ', ''), "'", '');
462
+ };
463
+ protoOf(CausalitySolver).t2e = function () {
464
+ return this.k3p_1;
465
+ };
466
+ protoOf(CausalitySolver).n3b = function () {
467
+ // Inline function 'kotlin.let' call
468
+ // Inline function 'kotlin.contracts.contract' call
469
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.<get-baseContent>.<anonymous>' call
470
+ var primitives = listOf([new CausalityCheckIntervention(this), new CausalityCheckCause(this)]);
471
+ var tmp = Companion_getInstance_4();
472
+ // Inline function 'kotlin.collections.associateBy' call
473
+ var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(primitives, 10)), 16);
474
+ // Inline function 'kotlin.collections.associateByTo' call
475
+ var destination = LinkedHashMap_init_$Create$(capacity);
476
+ var tmp0_iterator = primitives.r();
477
+ while (tmp0_iterator.s()) {
478
+ var element = tmp0_iterator.u();
479
+ // Inline function 'it.unibo.tuprolog.argumentation.causality.libs.CausalitySolver.<get-baseContent>.<anonymous>.<anonymous>' call
480
+ var tmp$ret$0 = element.d1v();
481
+ destination.o2(tmp$ret$0, element);
482
+ }
483
+ return tmp.of(this.k3p_1, destination, parseTheoryWithOperators(Companion_instance_0, 'subsets([], []).\nsubsets([H|T], [H|NT]) :- subsets(T, NT).\nsubsets([_|T], NT) :- subsets(T, NT).\n\nproper_subsets(L, S) :-\n subsets(L, S),\n S \\= [],\n S \\= L.\n\ngenerate_interventions(_, S, [CS]) :-\n compl(S, CS).\ngenerate_interventions(_, S, [undercut(S)]) :-\n S \\= -_.\ngenerate_interventions(R, S, SUP) :-\n parser:::convertAllRules(_),\n compl(S, CS),\n unused_premises(R, UP), !,\n subsets(UP, SUP),\n member(CS, SUP),\n SUP \\= [].\n\ncompl(-X, X) :- !.\ncompl(X, -X).\n\nunused_premises(R, UP) :-\n findall(P, (parser::rule(Id, P, _), \\+ member(Id, R)), RR),\n utils::appendLists(RR, UP).\n', this.l3p_1));
484
+ };
485
+ protoOf(CausalitySolver).o3b = function () {
486
+ return 'causality';
487
+ };
488
+ protoOf(CausalitySolver).w3a = function () {
489
+ return this.l3p_1;
490
+ };
491
+ //region block: post-declaration
492
+ protoOf(CausalitySolver).v3a = content;
493
+ //endregion
494
+ //region block: exports
495
+ _.$_$ = _.$_$ || {};
496
+ _.$_$.a = CausalitySolver;
497
+ //endregion
498
+ return _;
499
+ }));
500
+
501
+ //# sourceMappingURL=arg2p-causality-solver.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../causality-solver/src/commonMain/kotlin/it/unibo/tuprolog/argumentation/causality/libs/CausalitySolver.kt","common/src/generated/_Collections.kt","src/kotlin/util/Standard.kt"],"sourcesContent":[null,null,null],"names":["CausalitySolver$CausalityCheckCause$solve$lambda$lambda","it","$this_arg2pScope","CausalitySolver$CausalityCheckCause$solve$lambda$lambda$lambda","$request","$effect","$intervention","CausalitySolver$CausalityCheckCause$solve$lambda","$rules","$cause","$this$arg2pScope","equalTerms","a","b","attackers","x","graph","element","item","supporters","list","solveFresh","kb","getSupports","effect","checkBaseTheory","request","checkIntervention","intervention","support","getSubsets","checkCausality","supports","<init>","<get-signature>","solve","cause","rules","CausalitySolver$getSupports$lambda","CausalitySolver$getSupports$lambda$lambda","$graph","CausalitySolver$checkBaseTheory$lambda","CausalitySolver$getSubsets$lambda$lambda","CausalitySolver$getSubsets$lambda$lambda$lambda","CausalitySolver$getSubsets$lambda","clean","string","<get-alias>","<get-baseContent>","capacity","identifier","<get-theoryOperators>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAiKwFA,CAAAC,EAAAD,EAAA;A,IACzD,OAAH,EAAG,M;EACP,C;oEAAMA,CAHCE,gBAGDF,E;oBAAAG,CAAAF,EAAAE,EAAA;A,MAAuB,OAAH,cAAlB,EAAG,MAAH,IAAgB,sBAAhB,CAAkB,CAAG,a;IAAa,C;G;oEAC9BH,CAnIpC,M,EA0G2BI,Q,EAGfC,OAsBwBL,E;oBAAAG,CAAAF,EAAAE,EAAA;A,MAAE,8BAAe,QAAf,EAAwB,EAAxB,EAA4B,OAA5B,C;IAAoC,C;G;oEACzCH,CAzBrBM,aAyBqBN,E;oBAAAG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