@tuprolog/2p-full 0.30.5-dev01 → 0.31.1

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.
Files changed (70) hide show
  1. package/2p-bdd.js +609 -0
  2. package/2p-bdd.js.map +1 -0
  3. package/2p-core.js +12057 -0
  4. package/2p-core.js.map +1 -0
  5. package/2p-datalog.js +8 -0
  6. package/2p-datalog.js.map +1 -0
  7. package/2p-dsl-core.js +8 -0
  8. package/2p-dsl-core.js.map +1 -0
  9. package/2p-dsl-solve.js +8 -0
  10. package/2p-dsl-solve.js.map +1 -0
  11. package/2p-dsl-theory.js +8 -0
  12. package/2p-dsl-theory.js.map +1 -0
  13. package/2p-dsl-unify.js +8 -0
  14. package/2p-dsl-unify.js.map +1 -0
  15. package/2p-full.d.ts +270 -0
  16. package/2p-full.js +21 -0
  17. package/2p-full.js.map +1 -0
  18. package/2p-io-lib.js +3600 -0
  19. package/2p-io-lib.js.map +1 -0
  20. package/2p-oop-lib.js +3660 -0
  21. package/2p-oop-lib.js.map +1 -0
  22. package/2p-parser-core.js +1450 -0
  23. package/2p-parser-core.js.map +1 -0
  24. package/2p-parser-js.js +29 -0
  25. package/2p-parser-js.js.map +1 -0
  26. package/2p-parser-theory.js +114 -0
  27. package/2p-parser-theory.js.map +1 -0
  28. package/2p-repl.js +519 -0
  29. package/2p-repl.js.map +1 -0
  30. package/2p-serialize-core.js +8 -0
  31. package/2p-serialize-core.js.map +1 -0
  32. package/2p-serialize-theory.js +8 -0
  33. package/2p-serialize-theory.js.map +1 -0
  34. package/2p-solve-classic.js +3329 -0
  35. package/2p-solve-classic.js.map +1 -0
  36. package/2p-solve-concurrent.js +8 -0
  37. package/2p-solve-concurrent.js.map +1 -0
  38. package/2p-solve-plp.js +44 -0
  39. package/2p-solve-plp.js.map +1 -0
  40. package/2p-solve-problog.js +4547 -0
  41. package/2p-solve-problog.js.map +1 -0
  42. package/2p-solve-streams.js +3028 -0
  43. package/2p-solve-streams.js.map +1 -0
  44. package/2p-solve.js +16824 -0
  45. package/2p-solve.js.map +1 -0
  46. package/2p-theory.js +4902 -0
  47. package/2p-theory.js.map +1 -0
  48. package/2p-unify.js +957 -0
  49. package/2p-unify.js.map +1 -0
  50. package/2p-utils.js +1423 -0
  51. package/2p-utils.js.map +1 -0
  52. package/88b0986a7186d029-atomicfu-js-ir.js +8 -0
  53. package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -0
  54. package/clikt-clikt-js-ir.js +7240 -0
  55. package/clikt-clikt-js-ir.js.map +1 -0
  56. package/kotlin-kotlin-stdlib-js-ir.js +11847 -0
  57. package/kotlin-kotlin-stdlib-js-ir.js.map +1 -0
  58. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js +8 -0
  59. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map +1 -0
  60. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +8 -0
  61. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -0
  62. package/kt-math.js +11348 -0
  63. package/kt-math.js.map +1 -0
  64. package/package.json +4 -36
  65. package/CONTRIBUTORS +0 -10
  66. package/LICENSE +0 -202
  67. package/kotlin/2p-full/it/unibo/tuprolog/tuprolog.kjsm +0 -0
  68. package/kotlin/2p-full.js +0 -15
  69. package/kotlin/2p-full.js.map +0 -1
  70. package/kotlin/2p-full.meta.js +0 -1
package/2p-bdd.js ADDED
@@ -0,0 +1,609 @@
1
+ (function (_, kotlin_kotlin) {
2
+ 'use strict';
3
+ //region block: imports
4
+ var imul = Math.imul;
5
+ var interfaceMeta = kotlin_kotlin.$_$.u6;
6
+ var setMetadataFor = kotlin_kotlin.$_$.j7;
7
+ var objectMeta = kotlin_kotlin.$_$.i7;
8
+ var RuntimeException = kotlin_kotlin.$_$.rb;
9
+ var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.b2;
10
+ var captureStack = kotlin_kotlin.$_$.h6;
11
+ var classMeta = kotlin_kotlin.$_$.m6;
12
+ var hashCode = kotlin_kotlin.$_$.t6;
13
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.f1;
14
+ var Unit_getInstance = kotlin_kotlin.$_$.r2;
15
+ var ensureNotNull = kotlin_kotlin.$_$.vb;
16
+ var Pair = kotlin_kotlin.$_$.qb;
17
+ var compareTo = kotlin_kotlin.$_$.n6;
18
+ var equals = kotlin_kotlin.$_$.o6;
19
+ var THROW_CCE = kotlin_kotlin.$_$.sb;
20
+ var isComparable = kotlin_kotlin.$_$.x6;
21
+ var getKClassFromExpression = kotlin_kotlin.$_$.b;
22
+ var lazy = kotlin_kotlin.$_$.xb;
23
+ var KProperty1 = kotlin_kotlin.$_$.d8;
24
+ var getPropertyCallableRef = kotlin_kotlin.$_$.r6;
25
+ //endregion
26
+ //region block: pre-declaration
27
+ function accept(visitor) {
28
+ return visitor.visitTerminal(this);
29
+ }
30
+ setMetadataFor(Terminal, 'Terminal', interfaceMeta, undefined, undefined, undefined, undefined, []);
31
+ function accept_0(visitor) {
32
+ return visitor.visitVariable(this);
33
+ }
34
+ setMetadataFor(Variable, 'Variable', interfaceMeta, undefined, undefined, undefined, undefined, []);
35
+ setMetadataFor(Companion, 'Companion', objectMeta, undefined, undefined, undefined, undefined, []);
36
+ setMetadataFor(Companion_0, 'Companion', objectMeta, undefined, undefined, undefined, undefined, []);
37
+ setMetadataFor(BinaryDecisionDiagramException, 'BinaryDecisionDiagramException', classMeta, RuntimeException, undefined, undefined, undefined, []);
38
+ setMetadataFor(BinaryDecisionDiagramOperationException, 'BinaryDecisionDiagramOperationException', classMeta, BinaryDecisionDiagramException, undefined, undefined, undefined, []);
39
+ setMetadataFor(AnyVisitor, 'AnyVisitor', classMeta, undefined, undefined, undefined, undefined, []);
40
+ setMetadataFor(BinaryApplyExpansionVisitor, 'BinaryApplyExpansionVisitor', classMeta, undefined, undefined, undefined, undefined, []);
41
+ setMetadataFor(ExpansionVisitor, 'ExpansionVisitor', classMeta, undefined, undefined, undefined, undefined, []);
42
+ setMetadataFor(UnaryApplyExpansionVisitor, 'UnaryApplyExpansionVisitor', classMeta, undefined, undefined, undefined, undefined, []);
43
+ setMetadataFor(ReducedBinaryDecisionDiagramBuilder, 'ReducedBinaryDecisionDiagramBuilder', classMeta, undefined, undefined, undefined, undefined, []);
44
+ setMetadataFor(SimpleBinaryDecisionDiagramBuilder, 'SimpleBinaryDecisionDiagramBuilder', classMeta, undefined, undefined, undefined, undefined, []);
45
+ setMetadataFor(SimpleBinaryDecisionDiagramTerminal, 'SimpleBinaryDecisionDiagramTerminal', classMeta, undefined, [Terminal], undefined, undefined, []);
46
+ setMetadataFor(SimpleBinaryDecisionDiagramVariable, 'SimpleBinaryDecisionDiagramVariable', classMeta, undefined, [Variable], undefined, undefined, []);
47
+ setMetadataFor(CastVisitor, 'CastVisitor', classMeta, undefined, undefined, undefined, undefined, []);
48
+ //endregion
49
+ function Terminal() {
50
+ }
51
+ function Variable() {
52
+ }
53
+ function Companion() {
54
+ Companion_instance = this;
55
+ }
56
+ Companion.prototype.variableOf = function (value) {
57
+ return this.variableOfWithNodes(value, this.terminalOf(false), this.terminalOf(true));
58
+ };
59
+ Companion.prototype.variableOfWithNodes = function (value, low, high) {
60
+ return Companion_getInstance_0().defaultOf().buildVariable(value, low, high);
61
+ };
62
+ Companion.prototype.terminalOf = function (truth) {
63
+ return Companion_getInstance_0().defaultOf().buildTerminal(truth);
64
+ };
65
+ var Companion_instance;
66
+ function Companion_getInstance() {
67
+ if (Companion_instance == null)
68
+ new Companion();
69
+ return Companion_instance;
70
+ }
71
+ function Companion_0() {
72
+ Companion_instance_0 = this;
73
+ }
74
+ Companion_0.prototype.defaultOf = function () {
75
+ return createDefaultBinaryDecisionDiagramBuilder();
76
+ };
77
+ Companion_0.prototype.simpleOf = function () {
78
+ return new SimpleBinaryDecisionDiagramBuilder();
79
+ };
80
+ Companion_0.prototype.reducedOf = function (delegate) {
81
+ return this.z31(delegate === void 1 ? this.defaultOf() : delegate);
82
+ };
83
+ Companion_0.prototype.z31 = function (delegate) {
84
+ return new ReducedBinaryDecisionDiagramBuilder(delegate);
85
+ };
86
+ Companion_0.prototype.a32 = function (delegate, $mask0, $handler) {
87
+ if (!(($mask0 & 1) === 0))
88
+ delegate = this.defaultOf();
89
+ return this.z31(delegate);
90
+ };
91
+ var Companion_instance_0;
92
+ function Companion_getInstance_0() {
93
+ if (Companion_instance_0 == null)
94
+ new Companion_0();
95
+ return Companion_instance_0;
96
+ }
97
+ function createDefaultBinaryDecisionDiagramBuilder() {
98
+ return Companion_getInstance_0().simpleOf();
99
+ }
100
+ function notThenExpansion(_this__u8e3s4, expansionFalseTerminal, expansionTrueTerminal, expansionOperator) {
101
+ return runOperationAndCatchErrors(notThenExpansion$lambda(_this__u8e3s4, expansionFalseTerminal, expansionTrueTerminal, expansionOperator));
102
+ }
103
+ function andThenExpansion(_this__u8e3s4, that, expansionFalseTerminal, expansionTrueTerminal, expansionOperator) {
104
+ return runOperationAndCatchErrors(andThenExpansion$lambda(_this__u8e3s4, that, expansionFalseTerminal, expansionTrueTerminal, expansionOperator));
105
+ }
106
+ function orThenExpansion(_this__u8e3s4, that, expansionFalseTerminal, expansionTrueTerminal, expansionOperator) {
107
+ return runOperationAndCatchErrors(orThenExpansion$lambda(_this__u8e3s4, that, expansionFalseTerminal, expansionTrueTerminal, expansionOperator));
108
+ }
109
+ function applyUnaryThenExpansion(_this__u8e3s4, unaryOp, expansionFalseTerminal, expansionTrueTerminal, expansionOperator) {
110
+ return runOperationAndCatchErrors(applyThenExpansion$lambda(_this__u8e3s4, unaryOp, expansionFalseTerminal, expansionTrueTerminal, expansionOperator));
111
+ }
112
+ function applyBinaryThenExpansion(_this__u8e3s4, that, binaryOp, expansionFalseTerminal, expansionTrueTerminal, expansionOperator) {
113
+ return runOperationAndCatchErrors(applyThenExpansion$lambda_0(_this__u8e3s4, that, binaryOp, expansionFalseTerminal, expansionTrueTerminal, expansionOperator));
114
+ }
115
+ function notThenExpansion$lambda$lambda(a) {
116
+ return !a;
117
+ }
118
+ function notThenExpansion$lambda($this_notThenExpansion, $expansionFalseTerminal, $expansionTrueTerminal, $expansionOperator) {
119
+ return function () {
120
+ return applyUnaryThenExpansion($this_notThenExpansion, notThenExpansion$lambda$lambda, $expansionFalseTerminal, $expansionTrueTerminal, $expansionOperator);
121
+ };
122
+ }
123
+ function andThenExpansion$lambda$lambda(a, b) {
124
+ return a ? b : false;
125
+ }
126
+ function andThenExpansion$lambda($this_andThenExpansion, $that, $expansionFalseTerminal, $expansionTrueTerminal, $expansionOperator) {
127
+ return function () {
128
+ return applyBinaryThenExpansion($this_andThenExpansion, $that, andThenExpansion$lambda$lambda, $expansionFalseTerminal, $expansionTrueTerminal, $expansionOperator);
129
+ };
130
+ }
131
+ function orThenExpansion$lambda$lambda(a, b) {
132
+ return a ? true : b;
133
+ }
134
+ function orThenExpansion$lambda($this_orThenExpansion, $that, $expansionFalseTerminal, $expansionTrueTerminal, $expansionOperator) {
135
+ return function () {
136
+ return applyBinaryThenExpansion($this_orThenExpansion, $that, orThenExpansion$lambda$lambda, $expansionFalseTerminal, $expansionTrueTerminal, $expansionOperator);
137
+ };
138
+ }
139
+ function applyThenExpansion$lambda($this_applyThenExpansion, $unaryOp, $expansionFalseTerminal, $expansionTrueTerminal, $expansionOperator) {
140
+ return function () {
141
+ var tmp = Companion_getInstance_0();
142
+ return $this_applyThenExpansion.accept(new UnaryApplyExpansionVisitor(tmp.a32(null, 1, null), $unaryOp, $expansionFalseTerminal, $expansionTrueTerminal, $expansionOperator));
143
+ };
144
+ }
145
+ function applyThenExpansion$lambda_0($this_applyThenExpansion, $that, $binaryOp, $expansionFalseTerminal, $expansionTrueTerminal, $expansionOperator) {
146
+ return function () {
147
+ var tmp = Companion_getInstance_0();
148
+ return $this_applyThenExpansion.accept(new BinaryApplyExpansionVisitor(tmp.a32(null, 1, null), $that, $binaryOp, $expansionFalseTerminal, $expansionTrueTerminal, $expansionOperator));
149
+ };
150
+ }
151
+ function bddTerminalOf(value) {
152
+ return Companion_getInstance().terminalOf(value);
153
+ }
154
+ function bddOf(value) {
155
+ return Companion_getInstance().variableOf(value);
156
+ }
157
+ function expansion(_this__u8e3s4, falseTerminal, trueTerminal, operator) {
158
+ return runOperationAndCatchErrors(expansion$lambda(_this__u8e3s4, operator, falseTerminal, trueTerminal));
159
+ }
160
+ function anyWhere(_this__u8e3s4, predicate) {
161
+ return runOperationAndCatchErrors(any$lambda(_this__u8e3s4, predicate));
162
+ }
163
+ function map(_this__u8e3s4, mapper) {
164
+ var tmp = Companion_getInstance_0();
165
+ var builder = tmp.a32(null, 1, null);
166
+ return runOperationAndCatchErrors(map$lambda(_this__u8e3s4, builder, mapper));
167
+ }
168
+ function runOperationAndCatchErrors(action) {
169
+ try {
170
+ return action();
171
+ } catch ($p) {
172
+ if ($p instanceof Error) {
173
+ throw new BinaryDecisionDiagramOperationException('BinaryDecisionDiagram operation failure', $p);
174
+ } else {
175
+ throw $p;
176
+ }
177
+ }
178
+ }
179
+ function expansion$lambda($this_expansion, $operator, $falseTerminal, $trueTerminal) {
180
+ return function () {
181
+ return $this_expansion.accept(new ExpansionVisitor($operator, $falseTerminal, $trueTerminal));
182
+ };
183
+ }
184
+ function any$lambda($this_any, $predicate) {
185
+ return function () {
186
+ return $this_any.accept(new AnyVisitor($predicate));
187
+ };
188
+ }
189
+ function map$lambda$lambda($builder, $mapper) {
190
+ return function (node, low, high) {
191
+ return $builder.buildVariable($mapper(node), low, high);
192
+ };
193
+ }
194
+ function map$lambda($this_map, $builder, $mapper) {
195
+ return function () {
196
+ var tmp = $builder.buildTerminal(false);
197
+ var tmp_0 = $builder.buildTerminal(true);
198
+ return expansion($this_map, tmp, tmp_0, map$lambda$lambda($builder, $mapper));
199
+ };
200
+ }
201
+ function BinaryDecisionDiagramException(message, cause) {
202
+ RuntimeException_init_$Init$(message, cause, this);
203
+ this.b32_1 = message;
204
+ this.c32_1 = cause;
205
+ captureStack(this, BinaryDecisionDiagramException);
206
+ }
207
+ BinaryDecisionDiagramException.prototype.k1 = function () {
208
+ return this.b32_1;
209
+ };
210
+ BinaryDecisionDiagramException.prototype.l1 = function () {
211
+ return this.c32_1;
212
+ };
213
+ Object.defineProperty(BinaryDecisionDiagramException.prototype, 'message', {
214
+ configurable: true,
215
+ get: function () {
216
+ return this.k1();
217
+ }
218
+ });
219
+ Object.defineProperty(BinaryDecisionDiagramException.prototype, 'cause', {
220
+ configurable: true,
221
+ get: function () {
222
+ return this.l1();
223
+ }
224
+ });
225
+ function BinaryDecisionDiagramOperationException(message, cause) {
226
+ BinaryDecisionDiagramException.call(this, message, cause);
227
+ captureStack(this, BinaryDecisionDiagramOperationException);
228
+ }
229
+ function AnyVisitor(predicate) {
230
+ this.d32_1 = predicate;
231
+ }
232
+ AnyVisitor.prototype.e32 = function (node) {
233
+ return false;
234
+ };
235
+ AnyVisitor.prototype.visitTerminal = function (node) {
236
+ return this.e32(node);
237
+ };
238
+ AnyVisitor.prototype.f32 = function (node) {
239
+ var result = this.d32_1(node.b1());
240
+ if (!result) {
241
+ result = node.x31().accept(this);
242
+ }
243
+ if (!result) {
244
+ result = node.y31().accept(this);
245
+ }
246
+ return result;
247
+ };
248
+ AnyVisitor.prototype.visitVariable = function (node) {
249
+ return this.f32(node);
250
+ };
251
+ function visitWithTable($this, first, second, computation) {
252
+ var firstKey = hashCode(first);
253
+ var secondKey = hashCode(second);
254
+ if (!$this.m32_1.u2(firstKey)) {
255
+ // Inline function 'kotlin.collections.set' call
256
+ var tmp0_set = $this.m32_1;
257
+ var tmp$ret$0;
258
+ // Inline function 'kotlin.collections.mutableMapOf' call
259
+ tmp$ret$0 = LinkedHashMap_init_$Create$();
260
+ var tmp1_set = tmp$ret$0;
261
+ tmp0_set.w3(firstKey, tmp1_set);
262
+ }
263
+ var cached = ensureNotNull($this.m32_1.a3(firstKey)).a3(secondKey);
264
+ if (!(cached == null)) {
265
+ return cached;
266
+ }
267
+ var result = computation();
268
+ // Inline function 'kotlin.collections.set' call
269
+ var tmp2_set = ensureNotNull($this.m32_1.a3(firstKey));
270
+ tmp2_set.w3(secondKey, result);
271
+ return result;
272
+ }
273
+ function apply($this, first, second) {
274
+ var truth = $this.i32_1(first.v31(), second.v31());
275
+ return new Pair($this.g32_1.buildTerminal(truth), truth ? $this.k32_1 : $this.j32_1);
276
+ }
277
+ function apply_0($this, first, second) {
278
+ $this.h32_1 = second.x31();
279
+ var lowNode = first.w31($this);
280
+ $this.h32_1 = second.y31();
281
+ var highNode = first.w31($this);
282
+ return new Pair($this.g32_1.buildVariable(second.b1(), lowNode.g4_1, highNode.g4_1), $this.l32_1(second.b1(), lowNode.h4_1, highNode.h4_1));
283
+ }
284
+ function apply_1($this, first, second) {
285
+ $this.h32_1 = first;
286
+ return second.w31($this);
287
+ }
288
+ function apply_2($this, first, second) {
289
+ var newValue;
290
+ var firstLow;
291
+ var firstHigh;
292
+ var secondLow;
293
+ var secondHigh;
294
+ if (compareTo(first.b1(), second.b1()) <= 0) {
295
+ newValue = first.b1();
296
+ firstHigh = first.y31();
297
+ firstLow = first.x31();
298
+ } else {
299
+ newValue = second.b1();
300
+ firstLow = first;
301
+ firstHigh = first;
302
+ }
303
+ if (compareTo(second.b1(), first.b1()) <= 0) {
304
+ secondHigh = second.y31();
305
+ secondLow = second.x31();
306
+ } else {
307
+ secondLow = second;
308
+ secondHigh = second;
309
+ }
310
+ $this.h32_1 = secondLow;
311
+ var lowNode = firstLow.accept($this);
312
+ $this.h32_1 = secondHigh;
313
+ var highNode = firstHigh.accept($this);
314
+ return new Pair($this.g32_1.buildVariable(newValue, lowNode.g4_1, highNode.g4_1), $this.l32_1(newValue, lowNode.h4_1, highNode.h4_1));
315
+ }
316
+ function BinaryApplyExpansionVisitor$visit$lambda$lambda(this$0, $node) {
317
+ return function (that) {
318
+ return apply(this$0, $node, that);
319
+ };
320
+ }
321
+ function BinaryApplyExpansionVisitor$visit$lambda$lambda_0(this$0, $node) {
322
+ return function (that) {
323
+ return apply_0(this$0, $node, that);
324
+ };
325
+ }
326
+ function BinaryApplyExpansionVisitor$visit$lambda(this$0, $node) {
327
+ return function () {
328
+ var tmp = this$0.n32_1;
329
+ tmp.o32_1 = BinaryApplyExpansionVisitor$visit$lambda$lambda(this$0, $node);
330
+ var tmp_0 = this$0.n32_1;
331
+ tmp_0.p32_1 = BinaryApplyExpansionVisitor$visit$lambda$lambda_0(this$0, $node);
332
+ return this$0.h32_1.accept(this$0.n32_1);
333
+ };
334
+ }
335
+ function BinaryApplyExpansionVisitor$visit$lambda$lambda_1(this$0, $node) {
336
+ return function (that) {
337
+ return apply_1(this$0, $node, that);
338
+ };
339
+ }
340
+ function BinaryApplyExpansionVisitor$visit$lambda$lambda_2(this$0, $node) {
341
+ return function (that) {
342
+ return apply_2(this$0, $node, that);
343
+ };
344
+ }
345
+ function BinaryApplyExpansionVisitor$visit$lambda_0(this$0, $node) {
346
+ return function () {
347
+ var tmp = this$0.n32_1;
348
+ tmp.o32_1 = BinaryApplyExpansionVisitor$visit$lambda$lambda_1(this$0, $node);
349
+ var tmp_0 = this$0.n32_1;
350
+ tmp_0.p32_1 = BinaryApplyExpansionVisitor$visit$lambda$lambda_2(this$0, $node);
351
+ return this$0.h32_1.accept(this$0.n32_1);
352
+ };
353
+ }
354
+ function BinaryApplyExpansionVisitor(builder, thatNode, operator, expansionFalseTerminal, expansionTrueTerminal, expansionOperator) {
355
+ this.g32_1 = builder;
356
+ this.h32_1 = thatNode;
357
+ this.i32_1 = operator;
358
+ this.j32_1 = expansionFalseTerminal;
359
+ this.k32_1 = expansionTrueTerminal;
360
+ this.l32_1 = expansionOperator;
361
+ var tmp = this;
362
+ var tmp$ret$0;
363
+ // Inline function 'kotlin.collections.mutableMapOf' call
364
+ tmp$ret$0 = LinkedHashMap_init_$Create$();
365
+ tmp.m32_1 = tmp$ret$0;
366
+ this.n32_1 = new CastVisitor();
367
+ }
368
+ BinaryApplyExpansionVisitor.prototype.e32 = function (node) {
369
+ var tmp = this.h32_1;
370
+ return visitWithTable(this, node, tmp, BinaryApplyExpansionVisitor$visit$lambda(this, node));
371
+ };
372
+ BinaryApplyExpansionVisitor.prototype.visitTerminal = function (node) {
373
+ return this.e32(node);
374
+ };
375
+ BinaryApplyExpansionVisitor.prototype.f32 = function (node) {
376
+ var tmp = this.h32_1;
377
+ return visitWithTable(this, node, tmp, BinaryApplyExpansionVisitor$visit$lambda_0(this, node));
378
+ };
379
+ BinaryApplyExpansionVisitor.prototype.visitVariable = function (node) {
380
+ return this.f32(node);
381
+ };
382
+ function ExpansionVisitor(varOp, falseTerminal, trueTerminal) {
383
+ this.q32_1 = varOp;
384
+ this.r32_1 = falseTerminal;
385
+ this.s32_1 = trueTerminal;
386
+ }
387
+ ExpansionVisitor.prototype.e32 = function (node) {
388
+ return node.v31() ? this.s32_1 : this.r32_1;
389
+ };
390
+ ExpansionVisitor.prototype.visitTerminal = function (node) {
391
+ return this.e32(node);
392
+ };
393
+ ExpansionVisitor.prototype.f32 = function (node) {
394
+ var lowValue = node.x31().accept(this);
395
+ var highValue = node.y31().accept(this);
396
+ return this.q32_1(node.b1(), lowValue, highValue);
397
+ };
398
+ ExpansionVisitor.prototype.visitVariable = function (node) {
399
+ return this.f32(node);
400
+ };
401
+ function UnaryApplyExpansionVisitor(builder, operator, expansionFalseTerminal, expansionTrueTerminal, expansionOperator) {
402
+ this.t32_1 = builder;
403
+ this.u32_1 = operator;
404
+ this.v32_1 = expansionFalseTerminal;
405
+ this.w32_1 = expansionTrueTerminal;
406
+ this.x32_1 = expansionOperator;
407
+ var tmp = this;
408
+ var tmp$ret$0;
409
+ // Inline function 'kotlin.collections.mutableMapOf' call
410
+ tmp$ret$0 = LinkedHashMap_init_$Create$();
411
+ tmp.y32_1 = tmp$ret$0;
412
+ }
413
+ UnaryApplyExpansionVisitor.prototype.e32 = function (node) {
414
+ var resTruth = this.u32_1(node.v31());
415
+ return new Pair(this.t32_1.buildTerminal(resTruth), resTruth ? this.w32_1 : this.v32_1);
416
+ };
417
+ UnaryApplyExpansionVisitor.prototype.visitTerminal = function (node) {
418
+ return this.e32(node);
419
+ };
420
+ UnaryApplyExpansionVisitor.prototype.f32 = function (node) {
421
+ var key = hashCode(node);
422
+ if (this.y32_1.u2(key)) {
423
+ return ensureNotNull(this.y32_1.a3(key));
424
+ }
425
+ var lowNode = node.x31().accept(this);
426
+ var highNode = node.y31().accept(this);
427
+ var result = new Pair(this.t32_1.buildVariable(node.b1(), lowNode.g4_1, highNode.g4_1), this.x32_1(node.b1(), lowNode.h4_1, highNode.h4_1));
428
+ // Inline function 'kotlin.collections.set' call
429
+ var tmp0_set = this.y32_1;
430
+ tmp0_set.w3(key, result);
431
+ return result;
432
+ };
433
+ UnaryApplyExpansionVisitor.prototype.visitVariable = function (node) {
434
+ return this.f32(node);
435
+ };
436
+ function ReducedBinaryDecisionDiagramBuilder(delegate) {
437
+ this.z32_1 = delegate;
438
+ var tmp = this;
439
+ var tmp$ret$0;
440
+ // Inline function 'kotlin.collections.mutableMapOf' call
441
+ tmp$ret$0 = LinkedHashMap_init_$Create$();
442
+ tmp.a33_1 = tmp$ret$0;
443
+ }
444
+ ReducedBinaryDecisionDiagramBuilder.prototype.b33 = function (value, low, high) {
445
+ if (equals(low, high)) {
446
+ return low;
447
+ }
448
+ var newNode = this.z32_1.buildVariable(value, low, high);
449
+ var key = hashCode(newNode);
450
+ var cached = this.a33_1.a3(key);
451
+ var tmp;
452
+ if (!(cached == null)) {
453
+ tmp = cached;
454
+ } else {
455
+ // Inline function 'kotlin.collections.set' call
456
+ var tmp0_set = this.a33_1;
457
+ tmp0_set.w3(key, newNode);
458
+ tmp = newNode;
459
+ }
460
+ return tmp;
461
+ };
462
+ ReducedBinaryDecisionDiagramBuilder.prototype.buildVariable = function (value, low, high) {
463
+ return this.b33(isComparable(value) ? value : THROW_CCE(), low, high);
464
+ };
465
+ ReducedBinaryDecisionDiagramBuilder.prototype.c33 = function (truth) {
466
+ return this.z32_1.buildTerminal(truth);
467
+ };
468
+ ReducedBinaryDecisionDiagramBuilder.prototype.buildTerminal = function (truth) {
469
+ return this.c33(truth);
470
+ };
471
+ function SimpleBinaryDecisionDiagramBuilder() {
472
+ }
473
+ SimpleBinaryDecisionDiagramBuilder.prototype.b33 = function (value, low, high) {
474
+ return new SimpleBinaryDecisionDiagramVariable(value, low, high);
475
+ };
476
+ SimpleBinaryDecisionDiagramBuilder.prototype.buildVariable = function (value, low, high) {
477
+ return this.b33(isComparable(value) ? value : THROW_CCE(), low, high);
478
+ };
479
+ SimpleBinaryDecisionDiagramBuilder.prototype.c33 = function (truth) {
480
+ return new SimpleBinaryDecisionDiagramTerminal(truth);
481
+ };
482
+ SimpleBinaryDecisionDiagramBuilder.prototype.buildTerminal = function (truth) {
483
+ return this.c33(truth);
484
+ };
485
+ function SimpleBinaryDecisionDiagramTerminal(truth) {
486
+ this.d33_1 = truth;
487
+ }
488
+ SimpleBinaryDecisionDiagramTerminal.prototype.v31 = function () {
489
+ return this.d33_1;
490
+ };
491
+ SimpleBinaryDecisionDiagramTerminal.prototype.equals = function (other) {
492
+ if (this === other)
493
+ return true;
494
+ if (other == null ? true : !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
495
+ return false;
496
+ if (other instanceof SimpleBinaryDecisionDiagramTerminal)
497
+ other;
498
+ else
499
+ THROW_CCE();
500
+ if (!(this.d33_1 === other.d33_1))
501
+ return false;
502
+ return true;
503
+ };
504
+ SimpleBinaryDecisionDiagramTerminal.prototype.hashCode = function () {
505
+ return this.d33_1 | 0;
506
+ };
507
+ SimpleBinaryDecisionDiagramTerminal.prototype.toString = function () {
508
+ return 'SimpleBinaryDecisionDiagramTerminal(truth=' + this.d33_1 + ')';
509
+ };
510
+ SimpleBinaryDecisionDiagramTerminal.prototype.accept = function (visitor) {
511
+ return this.w31(visitor);
512
+ };
513
+ function _get_hashCodeCache__ny3r0q($this) {
514
+ var tmp$ret$0;
515
+ // Inline function 'kotlin.getValue' call
516
+ var tmp0_getValue = hashCodeCache$factory();
517
+ tmp$ret$0 = $this.h33_1.b1();
518
+ return tmp$ret$0;
519
+ }
520
+ function SimpleBinaryDecisionDiagramVariable$hashCodeCache$delegate$lambda(this$0) {
521
+ return function () {
522
+ var result = hashCode(this$0.e33_1);
523
+ result = imul(31, result) + hashCode(this$0.f33_1) | 0;
524
+ result = imul(31, result) + hashCode(this$0.g33_1) | 0;
525
+ return result;
526
+ };
527
+ }
528
+ function SimpleBinaryDecisionDiagramVariable(value, low, high) {
529
+ this.e33_1 = value;
530
+ this.f33_1 = low;
531
+ this.g33_1 = high;
532
+ var tmp = this;
533
+ tmp.h33_1 = lazy(SimpleBinaryDecisionDiagramVariable$hashCodeCache$delegate$lambda(this));
534
+ }
535
+ SimpleBinaryDecisionDiagramVariable.prototype.b1 = function () {
536
+ return this.e33_1;
537
+ };
538
+ SimpleBinaryDecisionDiagramVariable.prototype.x31 = function () {
539
+ return this.f33_1;
540
+ };
541
+ SimpleBinaryDecisionDiagramVariable.prototype.y31 = function () {
542
+ return this.g33_1;
543
+ };
544
+ SimpleBinaryDecisionDiagramVariable.prototype.equals = function (other) {
545
+ if (this === other)
546
+ return true;
547
+ if (other == null ? true : !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
548
+ return false;
549
+ if (other instanceof SimpleBinaryDecisionDiagramVariable)
550
+ other;
551
+ else
552
+ THROW_CCE();
553
+ if (!equals(this.e33_1, other.e33_1))
554
+ return false;
555
+ if (!equals(this.f33_1, other.f33_1))
556
+ return false;
557
+ if (!equals(this.g33_1, other.g33_1))
558
+ return false;
559
+ return true;
560
+ };
561
+ SimpleBinaryDecisionDiagramVariable.prototype.hashCode = function () {
562
+ return _get_hashCodeCache__ny3r0q(this);
563
+ };
564
+ SimpleBinaryDecisionDiagramVariable.prototype.toString = function () {
565
+ return 'SimpleBinaryDecisionDiagramVariable(value=' + this.e33_1 + ', low=' + this.f33_1 + ', high=' + this.g33_1 + ')';
566
+ };
567
+ SimpleBinaryDecisionDiagramVariable.prototype.accept = function (visitor) {
568
+ return this.w31(visitor);
569
+ };
570
+ function hashCodeCache$factory() {
571
+ return getPropertyCallableRef('hashCodeCache', 1, KProperty1, function (receiver) {
572
+ return _get_hashCodeCache__ny3r0q(receiver);
573
+ }, null);
574
+ }
575
+ function CastVisitor() {
576
+ this.o32_1 = null;
577
+ this.p32_1 = null;
578
+ }
579
+ CastVisitor.prototype.e32 = function (node) {
580
+ return ensureNotNull(this.o32_1)(node);
581
+ };
582
+ CastVisitor.prototype.visitTerminal = function (node) {
583
+ return this.e32(node);
584
+ };
585
+ CastVisitor.prototype.f32 = function (node) {
586
+ return ensureNotNull(this.p32_1)(node);
587
+ };
588
+ CastVisitor.prototype.visitVariable = function (node) {
589
+ return this.f32(node);
590
+ };
591
+ //region block: post-declaration
592
+ SimpleBinaryDecisionDiagramTerminal.prototype.w31 = accept;
593
+ SimpleBinaryDecisionDiagramVariable.prototype.w31 = accept_0;
594
+ //endregion
595
+ //region block: exports
596
+ _.$_$ = _.$_$ || {};
597
+ _.$_$.a = andThenExpansion;
598
+ _.$_$.b = anyWhere;
599
+ _.$_$.c = bddOf;
600
+ _.$_$.d = bddTerminalOf;
601
+ _.$_$.e = expansion;
602
+ _.$_$.f = map;
603
+ _.$_$.g = notThenExpansion;
604
+ _.$_$.h = orThenExpansion;
605
+ //endregion
606
+ return _;
607
+ }(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js')));
608
+
609
+ //# sourceMappingURL=2p-bdd.js.map
package/2p-bdd.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/BinaryDecisionDiagram.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/BinaryDecisionDiagramBuilder.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/BinaryDecisionDiagramOperators.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/BinaryDecisionDiagramUtils.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/exception/BinaryDecisionDiagramException.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/exception/BinaryDecisionDiagramOperationException.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/impl/AnyVisitor.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/impl/BinaryApplyExpansionVisitor.kt","commonMainSources/libraries/stdlib/src/kotlin/collections/Maps.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/impl/ExpansionVisitor.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/impl/UnaryApplyExpansionVisitor.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/impl/builder/ReducedBinaryDecisionDiagramBuilder.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/impl/builder/SimpleBinaryDecisionDiagramBuilder.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/impl/builder/SimpleBinaryDecisionDiagramTerminal.kt","commonMainSources/libraries/stdlib/src/kotlin/util/Lazy.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/impl/builder/SimpleBinaryDecisionDiagramVariable.kt","../../../../../../../bdd/src/commonMain/kotlin/it/unibo/tuprolog/bdd/impl/utils/CastVisitor.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;IAsDqG,OAAnB,OAAQ,eAAM,IAAN,C;;;;IAyBW,OAAnB,OAAQ,eAAM,IAAN,C;;;;;;;;;;;;;;;;;;;;;;;;;IAQxB,OAAtD,yBAAW,KAAX,EAAkB,gBAAW,KAAX,CAAlB,EAAqC,gBAAW,IAAX,CAArC,C;;;IASqG,OAA9C,qCAAe,eAAc,KAAd,EAAqB,GAArB,EAA0B,IAA1B,C;;;IAM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