@tuprolog/arg2p 0.13.2 → 0.14.2
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.
- package/2p-core.js +2267 -2267
- package/2p-core.js.map +1 -1
- package/2p-dsl-core.js +442 -442
- package/2p-dsl-core.js.map +1 -1
- package/2p-dsl-solve.js +246 -246
- package/2p-dsl-solve.js.map +1 -1
- package/2p-dsl-theory.js +152 -152
- package/2p-dsl-theory.js.map +1 -1
- package/2p-dsl-unify.js +15 -15
- package/2p-parser-core.js +160 -160
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-js.js +1 -1
- package/2p-parser-theory.js +17 -17
- package/2p-solve-classic.js +869 -869
- package/2p-solve-classic.js.map +1 -1
- package/2p-solve.js +3095 -3095
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1351 -1351
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +227 -227
- package/2p-unify.js.map +1 -1
- package/2p-utils.js +323 -323
- package/2p-utils.js.map +1 -1
- package/arg2p-causality-solver.js +90 -90
- package/arg2p-causality-solver.js.map +1 -1
- package/arg2p-core.js +1707 -1488
- package/arg2p-core.js.map +1 -1
- package/arg2p.js +89 -88
- package/arg2p.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +1784 -1225
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1514 -1512
- package/kt-math.js.map +1 -1
- package/package.json +1 -1
package/2p-dsl-solve.js
CHANGED
|
@@ -35,23 +35,23 @@
|
|
|
35
35
|
//region block: imports
|
|
36
36
|
var Companion_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.p1;
|
|
37
37
|
var VOID = kotlin_kotlin.$_$.b;
|
|
38
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
38
|
+
var protoOf = kotlin_kotlin.$_$.n6;
|
|
39
39
|
var Companion_instance = kotlin_it_unibo_tuprolog_core.$_$.t;
|
|
40
40
|
var Companion_instance_0 = kotlin_it_unibo_tuprolog_dsl_core.$_$.b;
|
|
41
41
|
var Companion_instance_1 = kotlin_it_unibo_tuprolog_core.$_$.b1;
|
|
42
42
|
var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_unify.$_$.b;
|
|
43
43
|
var IndexedTheoryFactory = kotlin_it_unibo_tuprolog_theory.$_$.c;
|
|
44
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
45
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
46
|
-
var toString = kotlin_kotlin.$_$.
|
|
44
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.b6;
|
|
45
|
+
var objectCreate = kotlin_kotlin.$_$.m6;
|
|
46
|
+
var toString = kotlin_kotlin.$_$.q6;
|
|
47
47
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
48
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
49
|
-
var equals = kotlin_kotlin.$_$.
|
|
48
|
+
var Unit_instance = kotlin_kotlin.$_$.l1;
|
|
49
|
+
var equals = kotlin_kotlin.$_$.u5;
|
|
50
50
|
var logicListFromFrom = kotlin_it_unibo_tuprolog_core.$_$.d;
|
|
51
51
|
var logicListFromIterable = kotlin_it_unibo_tuprolog_core.$_$.b;
|
|
52
52
|
var logicListFromSequence = kotlin_it_unibo_tuprolog_core.$_$.c;
|
|
53
53
|
var copy = kotlin_it_unibo_tuprolog_solve.$_$.g;
|
|
54
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
54
|
+
var THROW_CCE = kotlin_kotlin.$_$.qa;
|
|
55
55
|
var mguWithOccurCheck = kotlin_it_unibo_tuprolog_unify.$_$.a;
|
|
56
56
|
var stringInvoke = kotlin_it_unibo_tuprolog_dsl_core.$_$.v4;
|
|
57
57
|
var structOfAny = kotlin_it_unibo_tuprolog_dsl_core.$_$.a5;
|
|
@@ -196,98 +196,98 @@
|
|
|
196
196
|
var mutableTheory = kotlin_it_unibo_tuprolog_dsl_theory.$_$.c;
|
|
197
197
|
var mutableTheoryOfConcatenatedSequences = kotlin_it_unibo_tuprolog_dsl_theory.$_$.a;
|
|
198
198
|
var mutableTheoryOfConcatenatedIterables = kotlin_it_unibo_tuprolog_dsl_theory.$_$.b;
|
|
199
|
-
var
|
|
200
|
-
var LogicProgrammingScopeWithUnification = kotlin_it_unibo_tuprolog_dsl_unify.$_$.j;
|
|
201
|
-
var LogicProgrammingScopeWithSubstitutions = kotlin_it_unibo_tuprolog_dsl_core.$_$.o4;
|
|
199
|
+
var LogicProgrammingScopeWithPrologStandardLibrary = kotlin_it_unibo_tuprolog_dsl_core.$_$.h4;
|
|
202
200
|
var LogicProgrammingScopeWithOperators = kotlin_it_unibo_tuprolog_dsl_core.$_$.w1;
|
|
201
|
+
var LogicProgrammingScopeWithUnification = kotlin_it_unibo_tuprolog_dsl_unify.$_$.j;
|
|
202
|
+
var LogicProgrammingScopeWithTheories = kotlin_it_unibo_tuprolog_dsl_theory.$_$.h;
|
|
203
203
|
var MinimalLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.c5;
|
|
204
|
-
var
|
|
204
|
+
var LogicProgrammingScopeWithSubstitutions = kotlin_it_unibo_tuprolog_dsl_core.$_$.o4;
|
|
205
205
|
var BaseLogicProgrammingScope = kotlin_it_unibo_tuprolog_dsl_core.$_$.e;
|
|
206
|
-
var
|
|
206
|
+
var Scope = kotlin_it_unibo_tuprolog_core.$_$.r1;
|
|
207
207
|
var Unificator = kotlin_it_unibo_tuprolog_unify.$_$.c;
|
|
208
208
|
var TheoryFactory = kotlin_it_unibo_tuprolog_theory.$_$.f;
|
|
209
209
|
var MutableSolver = kotlin_it_unibo_tuprolog_solve.$_$.t2;
|
|
210
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
211
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
210
|
+
var initMetadataForClass = kotlin_kotlin.$_$.a6;
|
|
211
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.c6;
|
|
212
212
|
//endregion
|
|
213
213
|
//region block: pre-declaration
|
|
214
214
|
initMetadataForCompanion(Companion);
|
|
215
215
|
function solverOf(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
|
|
216
|
-
return this.
|
|
216
|
+
return this.o2z().m1x(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
|
|
217
217
|
}
|
|
218
218
|
function solverOf_0(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
|
|
219
|
-
unificator = unificator === VOID ? this.
|
|
220
|
-
otherLibraries = otherLibraries === VOID ? this.
|
|
221
|
-
flags = flags === VOID ? this.
|
|
222
|
-
staticKb = staticKb === VOID ? this.
|
|
223
|
-
dynamicKb = dynamicKb === VOID ? this.
|
|
224
|
-
stdIn = stdIn === VOID ? this.
|
|
225
|
-
stdOut = stdOut === VOID ? this.
|
|
226
|
-
stdErr = stdErr === VOID ? this.
|
|
227
|
-
warnings = warnings === VOID ? this.
|
|
228
|
-
return $super === VOID ? this.
|
|
219
|
+
unificator = unificator === VOID ? this.y1j() : unificator;
|
|
220
|
+
otherLibraries = otherLibraries === VOID ? this.o2z().r1w() : otherLibraries;
|
|
221
|
+
flags = flags === VOID ? this.o2z().u1w() : flags;
|
|
222
|
+
staticKb = staticKb === VOID ? this.o2z().x1w() : staticKb;
|
|
223
|
+
dynamicKb = dynamicKb === VOID ? this.o2z().y1w() : dynamicKb;
|
|
224
|
+
stdIn = stdIn === VOID ? this.o2z().z1w() : stdIn;
|
|
225
|
+
stdOut = stdOut === VOID ? this.o2z().a1x() : stdOut;
|
|
226
|
+
stdErr = stdErr === VOID ? this.o2z().b1x() : stdErr;
|
|
227
|
+
warnings = warnings === VOID ? this.o2z().c1x() : warnings;
|
|
228
|
+
return $super === VOID ? this.j1x(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) : solverOf(unificator, otherLibraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
|
|
229
229
|
}
|
|
230
230
|
function staticKbByArray(clauses) {
|
|
231
|
-
return this.
|
|
231
|
+
return this.p2z().loadStaticClauses(clauses.slice());
|
|
232
232
|
}
|
|
233
233
|
function staticKbByIterable(clauses) {
|
|
234
|
-
return this.
|
|
234
|
+
return this.p2z().loadStaticClausesIterable(clauses);
|
|
235
235
|
}
|
|
236
236
|
function staticKbBySequence(clauses) {
|
|
237
|
-
return this.
|
|
237
|
+
return this.p2z().loadStaticClausesSequence(clauses);
|
|
238
238
|
}
|
|
239
239
|
function staticKbByTheory(theory) {
|
|
240
|
-
return this.
|
|
240
|
+
return this.p2z().loadStaticKb(theory);
|
|
241
241
|
}
|
|
242
242
|
function dynamicKbByArray(clauses) {
|
|
243
|
-
return this.
|
|
243
|
+
return this.p2z().loadDynamicClauses(clauses.slice());
|
|
244
244
|
}
|
|
245
245
|
function dynamicKbByIterable(clauses) {
|
|
246
|
-
return this.
|
|
246
|
+
return this.p2z().loadDynamicClausesIterable(clauses);
|
|
247
247
|
}
|
|
248
248
|
function dynamicKbBySequence(clauses) {
|
|
249
|
-
return this.
|
|
249
|
+
return this.p2z().loadDynamicClausesSequence(clauses);
|
|
250
250
|
}
|
|
251
251
|
function dynamicKbByTheory(theory) {
|
|
252
|
-
return this.
|
|
252
|
+
return this.p2z().loadDynamicKb(theory);
|
|
253
253
|
}
|
|
254
|
-
initMetadataForInterface(LogicProgrammingScopeWithResolution, 'LogicProgrammingScopeWithResolution', VOID, VOID, [
|
|
255
|
-
initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [
|
|
254
|
+
initMetadataForInterface(LogicProgrammingScopeWithResolution, 'LogicProgrammingScopeWithResolution', VOID, VOID, [BaseLogicProgrammingScope, Unificator, MutableSolver]);
|
|
255
|
+
initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [LogicProgrammingScopeWithPrologStandardLibrary, LogicProgrammingScopeWithOperators, LogicProgrammingScopeWithUnification, LogicProgrammingScopeWithTheories, MinimalLogicProgrammingScope, LogicProgrammingScopeWithSubstitutions, BaseLogicProgrammingScope, Scope, LogicProgrammingScopeWithResolution, Unificator, TheoryFactory, MutableSolver]);
|
|
256
256
|
//endregion
|
|
257
257
|
function prolog(unificator, function_0) {
|
|
258
|
-
unificator = unificator === VOID ? Companion_getInstance().
|
|
259
|
-
return logicProgramming(Companion_getInstance().
|
|
258
|
+
unificator = unificator === VOID ? Companion_getInstance().n1w().t1w() : unificator;
|
|
259
|
+
return logicProgramming(Companion_getInstance().n1w(), unificator, function_0);
|
|
260
260
|
}
|
|
261
261
|
function logicProgramming(solverFactory, unificator, function_0) {
|
|
262
|
-
unificator = unificator === VOID ? solverFactory.
|
|
262
|
+
unificator = unificator === VOID ? solverFactory.t1w() : unificator;
|
|
263
263
|
return function_0(Companion_instance_2.ofSolverFactory(solverFactory, unificator));
|
|
264
264
|
}
|
|
265
265
|
function Companion() {
|
|
266
266
|
}
|
|
267
|
-
protoOf(Companion).
|
|
268
|
-
return _this__u8e3s4.
|
|
267
|
+
protoOf(Companion).e2z = function (_this__u8e3s4, unificator) {
|
|
268
|
+
return _this__u8e3s4.t1w() === unificator ? _this__u8e3s4 : _this__u8e3s4.newBuilder().setUnificator(unificator).toFactory();
|
|
269
269
|
};
|
|
270
|
-
protoOf(Companion).
|
|
271
|
-
return LogicProgrammingScopeImpl_init_$Create$(scope, termificator.
|
|
270
|
+
protoOf(Companion).f2z = function (scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory) {
|
|
271
|
+
return LogicProgrammingScopeImpl_init_$Create$(scope, termificator.x1g() === scope ? termificator : termificator.y1g(scope), variablesProvider.x1g() === scope ? variablesProvider : variablesProvider.y1g(scope), unificator, theoryFactory.y1j() === unificator ? theoryFactory : theoryFactory.q1r(unificator), this.e2z(solverFactory, unificator));
|
|
272
272
|
};
|
|
273
273
|
protoOf(Companion).of = function (scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory, $super) {
|
|
274
274
|
scope = scope === VOID ? Companion_instance.empty() : scope;
|
|
275
275
|
termificator = termificator === VOID ? Companion_instance_0.default(scope) : termificator;
|
|
276
|
-
variablesProvider = variablesProvider === VOID ? Companion_instance_1.
|
|
277
|
-
unificator = unificator === VOID ? Companion_getInstance_0().
|
|
276
|
+
variablesProvider = variablesProvider === VOID ? Companion_instance_1.u13(scope) : variablesProvider;
|
|
277
|
+
unificator = unificator === VOID ? Companion_getInstance_0().r1j() : unificator;
|
|
278
278
|
theoryFactory = theoryFactory === VOID ? new IndexedTheoryFactory(unificator) : theoryFactory;
|
|
279
|
-
return $super === VOID ? this.
|
|
279
|
+
return $super === VOID ? this.f2z(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory) : $super.f2z.call(this, scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory);
|
|
280
280
|
};
|
|
281
|
-
protoOf(Companion).
|
|
282
|
-
return this.
|
|
281
|
+
protoOf(Companion).g2z = function (solverFactory, unificator, scope, termificator, variablesProvider, theoryFactory) {
|
|
282
|
+
return this.f2z(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory);
|
|
283
283
|
};
|
|
284
284
|
protoOf(Companion).ofSolverFactory = function (solverFactory, unificator, scope, termificator, variablesProvider, theoryFactory, $super) {
|
|
285
|
-
unificator = unificator === VOID ? solverFactory.
|
|
285
|
+
unificator = unificator === VOID ? solverFactory.t1w() : unificator;
|
|
286
286
|
scope = scope === VOID ? Companion_instance.empty() : scope;
|
|
287
287
|
termificator = termificator === VOID ? Companion_instance_0.default(scope) : termificator;
|
|
288
|
-
variablesProvider = variablesProvider === VOID ? Companion_instance_1.
|
|
288
|
+
variablesProvider = variablesProvider === VOID ? Companion_instance_1.u13(scope) : variablesProvider;
|
|
289
289
|
theoryFactory = theoryFactory === VOID ? new IndexedTheoryFactory(unificator) : theoryFactory;
|
|
290
|
-
return $super === VOID ? this.
|
|
290
|
+
return $super === VOID ? this.g2z(solverFactory, unificator, scope, termificator, variablesProvider, theoryFactory) : $super.g2z.call(this, solverFactory, unificator, scope, termificator, variablesProvider, theoryFactory);
|
|
291
291
|
};
|
|
292
292
|
var Companion_instance_2;
|
|
293
293
|
function Companion_getInstance_1() {
|
|
@@ -301,485 +301,485 @@
|
|
|
301
301
|
return LogicProgrammingScopeImpl_init_$Init$(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory, objectCreate(protoOf(LogicProgrammingScopeImpl)));
|
|
302
302
|
}
|
|
303
303
|
function LogicProgrammingScopeImpl(scope, termificator, variablesProvider, unificator, theoryFactory, solverFactory, defaultSolver) {
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
304
|
+
this.h2z_1 = scope;
|
|
305
|
+
this.i2z_1 = termificator;
|
|
306
|
+
this.j2z_1 = variablesProvider;
|
|
307
|
+
this.k2z_1 = unificator;
|
|
308
|
+
this.l2z_1 = theoryFactory;
|
|
309
|
+
this.m2z_1 = solverFactory;
|
|
310
|
+
this.n2z_1 = defaultSolver;
|
|
311
311
|
// Inline function 'kotlin.require' call
|
|
312
|
-
if (!(this.
|
|
312
|
+
if (!(this.h2z_1 === this.j2z_1.x1g() && this.h2z_1 === this.i2z_1.x1g())) {
|
|
313
313
|
var message = 'The provided Scope should be the same object for both Termificator and VariablesProvider';
|
|
314
314
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
315
315
|
}
|
|
316
316
|
// Inline function 'kotlin.require' call
|
|
317
|
-
if (!(equals(this.
|
|
317
|
+
if (!(equals(this.k2z_1, this.l2z_1.y1j()) && equals(this.k2z_1, this.m2z_1.t1w()) && equals(this.k2z_1, this.n2z_1.y1j()))) {
|
|
318
318
|
var message_0 = 'The provided Unificator should be the same object for both Solver, SolverFactory, and TheoryFactory';
|
|
319
319
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
323
|
-
return this.
|
|
322
|
+
protoOf(LogicProgrammingScopeImpl).x1g = function () {
|
|
323
|
+
return this.h2z_1;
|
|
324
324
|
};
|
|
325
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
326
|
-
return this.
|
|
325
|
+
protoOf(LogicProgrammingScopeImpl).i2y = function () {
|
|
326
|
+
return this.i2z_1;
|
|
327
327
|
};
|
|
328
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
329
|
-
return this.
|
|
328
|
+
protoOf(LogicProgrammingScopeImpl).y1j = function () {
|
|
329
|
+
return this.k2z_1;
|
|
330
330
|
};
|
|
331
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
332
|
-
return this.
|
|
331
|
+
protoOf(LogicProgrammingScopeImpl).o2z = function () {
|
|
332
|
+
return this.m2z_1;
|
|
333
333
|
};
|
|
334
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
335
|
-
return this.
|
|
334
|
+
protoOf(LogicProgrammingScopeImpl).p2z = function () {
|
|
335
|
+
return this.n2z_1;
|
|
336
336
|
};
|
|
337
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
338
|
-
return this.
|
|
337
|
+
protoOf(LogicProgrammingScopeImpl).n2y = function () {
|
|
338
|
+
return this.y1g(Companion_instance.empty());
|
|
339
339
|
};
|
|
340
340
|
protoOf(LogicProgrammingScopeImpl).newScope = function () {
|
|
341
|
-
return this.
|
|
341
|
+
return this.n2y();
|
|
342
342
|
};
|
|
343
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
344
|
-
return LogicProgrammingScopeImpl_init_$Create$(scope, this.
|
|
343
|
+
protoOf(LogicProgrammingScopeImpl).y1g = function (scope) {
|
|
344
|
+
return LogicProgrammingScopeImpl_init_$Create$(scope, this.i2z_1.y1g(scope), this.j2z_1.y1g(scope), this.k2z_1, this.l2z_1, this.m2z_1);
|
|
345
345
|
};
|
|
346
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
347
|
-
return LogicProgrammingScopeImpl_init_$Create$(this.
|
|
346
|
+
protoOf(LogicProgrammingScopeImpl).q1r = function (unificator) {
|
|
347
|
+
return LogicProgrammingScopeImpl_init_$Create$(this.h2z_1, this.i2z_1, this.j2z_1, unificator, this.l2z_1.q1r(unificator), Companion_instance_2.e2z(this.m2z_1, unificator));
|
|
348
348
|
};
|
|
349
349
|
protoOf(LogicProgrammingScopeImpl).structOf = function (functor, args) {
|
|
350
|
-
return this.
|
|
350
|
+
return this.j2z_1.structOf(functor, args);
|
|
351
351
|
};
|
|
352
352
|
protoOf(LogicProgrammingScopeImpl).structOfSequence = function (functor, args) {
|
|
353
|
-
return this.
|
|
353
|
+
return this.j2z_1.structOfSequence(functor, args);
|
|
354
354
|
};
|
|
355
355
|
protoOf(LogicProgrammingScopeImpl).structOfIterable = function (functor, args) {
|
|
356
|
-
return this.
|
|
356
|
+
return this.j2z_1.structOfIterable(functor, args);
|
|
357
357
|
};
|
|
358
358
|
protoOf(LogicProgrammingScopeImpl).structOfList = function (functor, args) {
|
|
359
|
-
return this.
|
|
359
|
+
return this.j2z_1.structOfList(functor, args);
|
|
360
360
|
};
|
|
361
361
|
protoOf(LogicProgrammingScopeImpl).tupleOf = function (terms) {
|
|
362
|
-
return this.
|
|
362
|
+
return this.j2z_1.tupleOf(terms);
|
|
363
363
|
};
|
|
364
364
|
protoOf(LogicProgrammingScopeImpl).tupleOfIterable = function (terms) {
|
|
365
|
-
return this.
|
|
365
|
+
return this.j2z_1.tupleOfIterable(terms);
|
|
366
366
|
};
|
|
367
367
|
protoOf(LogicProgrammingScopeImpl).tupleOfSequence = function (terms) {
|
|
368
|
-
return this.
|
|
368
|
+
return this.j2z_1.tupleOfSequence(terms);
|
|
369
369
|
};
|
|
370
370
|
protoOf(LogicProgrammingScopeImpl).logicListOf = function (terms) {
|
|
371
|
-
return this.
|
|
371
|
+
return this.j2z_1.logicListOf(terms);
|
|
372
372
|
};
|
|
373
373
|
protoOf(LogicProgrammingScopeImpl).logicListOfIterable = function (terms) {
|
|
374
|
-
return this.
|
|
374
|
+
return this.j2z_1.logicListOfIterable(terms);
|
|
375
375
|
};
|
|
376
376
|
protoOf(LogicProgrammingScopeImpl).logicListOfSequence = function (terms) {
|
|
377
|
-
return this.
|
|
377
|
+
return this.j2z_1.logicListOfSequence(terms);
|
|
378
378
|
};
|
|
379
379
|
protoOf(LogicProgrammingScopeImpl).blockOf = function (terms) {
|
|
380
|
-
return this.
|
|
380
|
+
return this.j2z_1.blockOf(terms);
|
|
381
381
|
};
|
|
382
382
|
protoOf(LogicProgrammingScopeImpl).blockOfIterable = function (terms) {
|
|
383
|
-
return this.
|
|
383
|
+
return this.j2z_1.blockOfIterable(terms);
|
|
384
384
|
};
|
|
385
385
|
protoOf(LogicProgrammingScopeImpl).blockOfSequence = function (terms) {
|
|
386
|
-
return this.
|
|
386
|
+
return this.j2z_1.blockOfSequence(terms);
|
|
387
387
|
};
|
|
388
388
|
protoOf(LogicProgrammingScopeImpl).factOf = function (head) {
|
|
389
|
-
return this.
|
|
389
|
+
return this.j2z_1.factOf(head);
|
|
390
390
|
};
|
|
391
391
|
protoOf(LogicProgrammingScopeImpl).consOf = function (head, tail) {
|
|
392
|
-
return this.
|
|
392
|
+
return this.j2z_1.consOf(head, tail);
|
|
393
393
|
};
|
|
394
394
|
protoOf(LogicProgrammingScopeImpl).directiveOf = function (body1, body) {
|
|
395
|
-
return this.
|
|
395
|
+
return this.j2z_1.directiveOf(body1, body);
|
|
396
396
|
};
|
|
397
397
|
protoOf(LogicProgrammingScopeImpl).containsVar = function (variable) {
|
|
398
|
-
return this.
|
|
398
|
+
return this.j2z_1.containsVar(variable);
|
|
399
399
|
};
|
|
400
400
|
protoOf(LogicProgrammingScopeImpl).contains = function (variable) {
|
|
401
|
-
return this.
|
|
401
|
+
return this.j2z_1.contains(variable);
|
|
402
402
|
};
|
|
403
403
|
protoOf(LogicProgrammingScopeImpl).get = function (variable) {
|
|
404
|
-
return this.
|
|
404
|
+
return this.j2z_1.get(variable);
|
|
405
405
|
};
|
|
406
406
|
protoOf(LogicProgrammingScopeImpl).where = function (lambda) {
|
|
407
|
-
return this.
|
|
407
|
+
return this.j2z_1.where(lambda);
|
|
408
408
|
};
|
|
409
409
|
protoOf(LogicProgrammingScopeImpl).with = function (lambda) {
|
|
410
|
-
return this.
|
|
410
|
+
return this.j2z_1.with(lambda);
|
|
411
411
|
};
|
|
412
412
|
protoOf(LogicProgrammingScopeImpl).varOf = function (name) {
|
|
413
|
-
return this.
|
|
413
|
+
return this.j2z_1.varOf(name);
|
|
414
414
|
};
|
|
415
415
|
protoOf(LogicProgrammingScopeImpl).varOfChar = function (name) {
|
|
416
|
-
return this.
|
|
416
|
+
return this.j2z_1.varOfChar(name);
|
|
417
417
|
};
|
|
418
418
|
protoOf(LogicProgrammingScopeImpl).atomOf = function (value) {
|
|
419
|
-
return this.
|
|
419
|
+
return this.j2z_1.atomOf(value);
|
|
420
420
|
};
|
|
421
421
|
protoOf(LogicProgrammingScopeImpl).atomOfChar = function (value) {
|
|
422
|
-
return this.
|
|
422
|
+
return this.j2z_1.atomOfChar(value);
|
|
423
423
|
};
|
|
424
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
425
|
-
return this.
|
|
424
|
+
protoOf(LogicProgrammingScopeImpl).v10 = function (terms, last) {
|
|
425
|
+
return this.j2z_1.v10(terms, last);
|
|
426
426
|
};
|
|
427
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
428
|
-
return this.
|
|
427
|
+
protoOf(LogicProgrammingScopeImpl).w10 = function (terms, last) {
|
|
428
|
+
return this.j2z_1.w10(terms, last);
|
|
429
429
|
};
|
|
430
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
431
|
-
return this.
|
|
430
|
+
protoOf(LogicProgrammingScopeImpl).x10 = function (terms, last) {
|
|
431
|
+
return this.j2z_1.x10(terms, last);
|
|
432
432
|
};
|
|
433
433
|
protoOf(LogicProgrammingScopeImpl).ruleOf = function (head, body1, body) {
|
|
434
|
-
return this.
|
|
434
|
+
return this.j2z_1.ruleOf(head, body1, body);
|
|
435
435
|
};
|
|
436
436
|
protoOf(LogicProgrammingScopeImpl).clauseOf = function (head, body) {
|
|
437
|
-
return this.
|
|
437
|
+
return this.j2z_1.clauseOf(head, body);
|
|
438
438
|
};
|
|
439
439
|
protoOf(LogicProgrammingScopeImpl).indicatorOf = function (name, arity) {
|
|
440
|
-
return this.
|
|
440
|
+
return this.j2z_1.indicatorOf(name, arity);
|
|
441
441
|
};
|
|
442
442
|
protoOf(LogicProgrammingScopeImpl).indicatorOfStringInt = function (name, arity) {
|
|
443
|
-
return this.
|
|
443
|
+
return this.j2z_1.indicatorOfStringInt(name, arity);
|
|
444
444
|
};
|
|
445
445
|
protoOf(LogicProgrammingScopeImpl).anonymous = function () {
|
|
446
|
-
return this.
|
|
446
|
+
return this.j2z_1.anonymous();
|
|
447
447
|
};
|
|
448
448
|
protoOf(LogicProgrammingScopeImpl).whatever = function () {
|
|
449
|
-
return this.
|
|
449
|
+
return this.j2z_1.whatever();
|
|
450
450
|
};
|
|
451
451
|
protoOf(LogicProgrammingScopeImpl).numOfBigDecimal = function (value) {
|
|
452
|
-
return this.
|
|
452
|
+
return this.j2z_1.numOfBigDecimal(value);
|
|
453
453
|
};
|
|
454
454
|
protoOf(LogicProgrammingScopeImpl).numOfDouble = function (value) {
|
|
455
|
-
return this.
|
|
455
|
+
return this.j2z_1.numOfDouble(value);
|
|
456
456
|
};
|
|
457
457
|
protoOf(LogicProgrammingScopeImpl).numOfFloat = function (value) {
|
|
458
|
-
return this.
|
|
458
|
+
return this.j2z_1.numOfFloat(value);
|
|
459
459
|
};
|
|
460
460
|
protoOf(LogicProgrammingScopeImpl).numOfBigInteger = function (value) {
|
|
461
|
-
return this.
|
|
461
|
+
return this.j2z_1.numOfBigInteger(value);
|
|
462
462
|
};
|
|
463
463
|
protoOf(LogicProgrammingScopeImpl).numOfInt = function (value) {
|
|
464
|
-
return this.
|
|
464
|
+
return this.j2z_1.numOfInt(value);
|
|
465
465
|
};
|
|
466
466
|
protoOf(LogicProgrammingScopeImpl).numOfLong = function (value) {
|
|
467
|
-
return this.
|
|
467
|
+
return this.j2z_1.numOfLong(value);
|
|
468
468
|
};
|
|
469
469
|
protoOf(LogicProgrammingScopeImpl).numOfShort = function (value) {
|
|
470
|
-
return this.
|
|
470
|
+
return this.j2z_1.numOfShort(value);
|
|
471
471
|
};
|
|
472
472
|
protoOf(LogicProgrammingScopeImpl).numOfByte = function (value) {
|
|
473
|
-
return this.
|
|
473
|
+
return this.j2z_1.numOfByte(value);
|
|
474
474
|
};
|
|
475
475
|
protoOf(LogicProgrammingScopeImpl).parseNum = function (value) {
|
|
476
|
-
return this.
|
|
476
|
+
return this.j2z_1.parseNum(value);
|
|
477
477
|
};
|
|
478
478
|
protoOf(LogicProgrammingScopeImpl).numOf = function (value) {
|
|
479
|
-
return this.
|
|
479
|
+
return this.j2z_1.numOf(value);
|
|
480
480
|
};
|
|
481
481
|
protoOf(LogicProgrammingScopeImpl).intOfBigInteger = function (value) {
|
|
482
|
-
return this.
|
|
482
|
+
return this.j2z_1.intOfBigInteger(value);
|
|
483
483
|
};
|
|
484
484
|
protoOf(LogicProgrammingScopeImpl).intOf = function (value) {
|
|
485
|
-
return this.
|
|
485
|
+
return this.j2z_1.intOf(value);
|
|
486
486
|
};
|
|
487
487
|
protoOf(LogicProgrammingScopeImpl).intOfLong = function (value) {
|
|
488
|
-
return this.
|
|
488
|
+
return this.j2z_1.intOfLong(value);
|
|
489
489
|
};
|
|
490
490
|
protoOf(LogicProgrammingScopeImpl).intOfShort = function (value) {
|
|
491
|
-
return this.
|
|
491
|
+
return this.j2z_1.intOfShort(value);
|
|
492
492
|
};
|
|
493
493
|
protoOf(LogicProgrammingScopeImpl).intOfByte = function (value) {
|
|
494
|
-
return this.
|
|
494
|
+
return this.j2z_1.intOfByte(value);
|
|
495
495
|
};
|
|
496
496
|
protoOf(LogicProgrammingScopeImpl).parseInt = function (value) {
|
|
497
|
-
return this.
|
|
497
|
+
return this.j2z_1.parseInt(value);
|
|
498
498
|
};
|
|
499
499
|
protoOf(LogicProgrammingScopeImpl).parseIntRadix = function (value, radix) {
|
|
500
|
-
return this.
|
|
500
|
+
return this.j2z_1.parseIntRadix(value, radix);
|
|
501
501
|
};
|
|
502
502
|
protoOf(LogicProgrammingScopeImpl).realOfBigDecimal = function (value) {
|
|
503
|
-
return this.
|
|
503
|
+
return this.j2z_1.realOfBigDecimal(value);
|
|
504
504
|
};
|
|
505
505
|
protoOf(LogicProgrammingScopeImpl).realOf = function (value) {
|
|
506
|
-
return this.
|
|
506
|
+
return this.j2z_1.realOf(value);
|
|
507
507
|
};
|
|
508
508
|
protoOf(LogicProgrammingScopeImpl).realOfFloat = function (value) {
|
|
509
|
-
return this.
|
|
509
|
+
return this.j2z_1.realOfFloat(value);
|
|
510
510
|
};
|
|
511
511
|
protoOf(LogicProgrammingScopeImpl).parseReal = function (value) {
|
|
512
|
-
return this.
|
|
512
|
+
return this.j2z_1.parseReal(value);
|
|
513
513
|
};
|
|
514
514
|
protoOf(LogicProgrammingScopeImpl).truthOf = function (value) {
|
|
515
|
-
return this.
|
|
515
|
+
return this.j2z_1.truthOf(value);
|
|
516
516
|
};
|
|
517
517
|
protoOf(LogicProgrammingScopeImpl).unifierOf = function (assignments) {
|
|
518
|
-
return this.
|
|
518
|
+
return this.j2z_1.unifierOf(assignments);
|
|
519
519
|
};
|
|
520
520
|
protoOf(LogicProgrammingScopeImpl).unifierOfIterable = function (assignments) {
|
|
521
|
-
return this.
|
|
521
|
+
return this.j2z_1.unifierOfIterable(assignments);
|
|
522
522
|
};
|
|
523
523
|
protoOf(LogicProgrammingScopeImpl).unifierOfSequence = function (assignments) {
|
|
524
|
-
return this.
|
|
524
|
+
return this.j2z_1.unifierOfSequence(assignments);
|
|
525
525
|
};
|
|
526
526
|
protoOf(LogicProgrammingScopeImpl).substitutionOf = function (assignments) {
|
|
527
|
-
return this.
|
|
527
|
+
return this.j2z_1.substitutionOf(assignments);
|
|
528
528
|
};
|
|
529
529
|
protoOf(LogicProgrammingScopeImpl).substitutionOfIterable = function (assignments) {
|
|
530
|
-
return this.
|
|
530
|
+
return this.j2z_1.substitutionOfIterable(assignments);
|
|
531
531
|
};
|
|
532
532
|
protoOf(LogicProgrammingScopeImpl).substitutionOfSequence = function (assignments) {
|
|
533
|
-
return this.
|
|
533
|
+
return this.j2z_1.substitutionOfSequence(assignments);
|
|
534
534
|
};
|
|
535
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
536
|
-
return this.
|
|
535
|
+
protoOf(LogicProgrammingScopeImpl).t10 = function () {
|
|
536
|
+
return this.j2z_1.t10();
|
|
537
537
|
};
|
|
538
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
539
|
-
return this.
|
|
538
|
+
protoOf(LogicProgrammingScopeImpl).u10 = function () {
|
|
539
|
+
return this.j2z_1.u10();
|
|
540
540
|
};
|
|
541
541
|
protoOf(LogicProgrammingScopeImpl).retract = function (clause) {
|
|
542
|
-
return this.
|
|
542
|
+
return this.n2z_1.retract(clause);
|
|
543
543
|
};
|
|
544
544
|
protoOf(LogicProgrammingScopeImpl).retractByHead = function (fact) {
|
|
545
|
-
return this.
|
|
545
|
+
return this.n2z_1.retractByHead(fact);
|
|
546
546
|
};
|
|
547
547
|
protoOf(LogicProgrammingScopeImpl).solveWithTimeout = function (goal, timeout) {
|
|
548
|
-
return this.
|
|
548
|
+
return this.n2z_1.solveWithTimeout(goal, timeout);
|
|
549
549
|
};
|
|
550
550
|
protoOf(LogicProgrammingScopeImpl).solve = function (goal) {
|
|
551
|
-
return this.
|
|
551
|
+
return this.n2z_1.solve(goal);
|
|
552
552
|
};
|
|
553
553
|
protoOf(LogicProgrammingScopeImpl).solveWithOptions = function (goal, options) {
|
|
554
|
-
return this.
|
|
554
|
+
return this.n2z_1.solveWithOptions(goal, options);
|
|
555
555
|
};
|
|
556
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
557
|
-
return this.
|
|
556
|
+
protoOf(LogicProgrammingScopeImpl).n1u = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
|
|
557
|
+
return this.n2z_1.n1u(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
|
|
558
558
|
};
|
|
559
559
|
protoOf(LogicProgrammingScopeImpl).copy = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
|
|
560
560
|
return this.copy(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof LogicProgrammingScopeImpl) ? $super : THROW_CCE());
|
|
561
561
|
};
|
|
562
562
|
protoOf(LogicProgrammingScopeImpl).getValue = function (thisRef, property) {
|
|
563
|
-
return this.
|
|
563
|
+
return this.j2z_1.getValue(thisRef, property);
|
|
564
564
|
};
|
|
565
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
566
|
-
return this.
|
|
565
|
+
protoOf(LogicProgrammingScopeImpl).a1h = function () {
|
|
566
|
+
return this.j2z_1.a1h();
|
|
567
567
|
};
|
|
568
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
569
|
-
return this.
|
|
568
|
+
protoOf(LogicProgrammingScopeImpl).b1h = function () {
|
|
569
|
+
return this.j2z_1.b1h();
|
|
570
570
|
};
|
|
571
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
572
|
-
return this.
|
|
571
|
+
protoOf(LogicProgrammingScopeImpl).r1i = function (term1, term2, occurCheckEnabled) {
|
|
572
|
+
return this.k2z_1.r1i(term1, term2, occurCheckEnabled);
|
|
573
573
|
};
|
|
574
574
|
protoOf(LogicProgrammingScopeImpl).mgu = function (term1, term2) {
|
|
575
|
-
return this.
|
|
575
|
+
return this.k2z_1.mgu(term1, term2);
|
|
576
576
|
};
|
|
577
577
|
protoOf(LogicProgrammingScopeImpl).matchWithOccurCheck = function (term1, term2, occurCheckEnabled) {
|
|
578
|
-
return this.
|
|
578
|
+
return this.k2z_1.matchWithOccurCheck(term1, term2, occurCheckEnabled);
|
|
579
579
|
};
|
|
580
580
|
protoOf(LogicProgrammingScopeImpl).match = function (term1, term2) {
|
|
581
|
-
return this.
|
|
581
|
+
return this.k2z_1.match(term1, term2);
|
|
582
582
|
};
|
|
583
583
|
protoOf(LogicProgrammingScopeImpl).unifyWithOccurCheck = function (term1, term2, occurCheckEnabled) {
|
|
584
|
-
return this.
|
|
584
|
+
return this.k2z_1.unifyWithOccurCheck(term1, term2, occurCheckEnabled);
|
|
585
585
|
};
|
|
586
586
|
protoOf(LogicProgrammingScopeImpl).unify = function (term1, term2) {
|
|
587
|
-
return this.
|
|
587
|
+
return this.k2z_1.unify(term1, term2);
|
|
588
588
|
};
|
|
589
589
|
protoOf(LogicProgrammingScopeImpl).mergeWithOccurCheck = function (substitution1, substitution2, occurCheckEnabled) {
|
|
590
|
-
return this.
|
|
590
|
+
return this.k2z_1.mergeWithOccurCheck(substitution1, substitution2, occurCheckEnabled);
|
|
591
591
|
};
|
|
592
592
|
protoOf(LogicProgrammingScopeImpl).merge = function (substitution1, substitution2) {
|
|
593
|
-
return this.
|
|
593
|
+
return this.k2z_1.merge(substitution1, substitution2);
|
|
594
594
|
};
|
|
595
595
|
protoOf(LogicProgrammingScopeImpl).theoryOfIterableWithUnificator = function (clauses, unificator) {
|
|
596
|
-
return this.
|
|
596
|
+
return this.l2z_1.theoryOfIterableWithUnificator(clauses, unificator);
|
|
597
597
|
};
|
|
598
598
|
protoOf(LogicProgrammingScopeImpl).theoryOfIterable = function (clauses) {
|
|
599
|
-
return this.
|
|
599
|
+
return this.l2z_1.theoryOfIterable(clauses);
|
|
600
600
|
};
|
|
601
601
|
protoOf(LogicProgrammingScopeImpl).theoryOfWithUnificator = function (unificator, clauses) {
|
|
602
|
-
return this.
|
|
602
|
+
return this.l2z_1.theoryOfWithUnificator(unificator, clauses);
|
|
603
603
|
};
|
|
604
604
|
protoOf(LogicProgrammingScopeImpl).theoryOf = function (clauses) {
|
|
605
|
-
return this.
|
|
605
|
+
return this.l2z_1.theoryOf(clauses);
|
|
606
606
|
};
|
|
607
607
|
protoOf(LogicProgrammingScopeImpl).theoryOfSequenceWithUnificator = function (clauses, unificator) {
|
|
608
|
-
return this.
|
|
608
|
+
return this.l2z_1.theoryOfSequenceWithUnificator(clauses, unificator);
|
|
609
609
|
};
|
|
610
610
|
protoOf(LogicProgrammingScopeImpl).theoryOfSequence = function (clauses) {
|
|
611
|
-
return this.
|
|
611
|
+
return this.l2z_1.theoryOfSequence(clauses);
|
|
612
612
|
};
|
|
613
613
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfIterableWithUnificator = function (clauses, unificator) {
|
|
614
|
-
return this.
|
|
614
|
+
return this.l2z_1.mutableTheoryOfIterableWithUnificator(clauses, unificator);
|
|
615
615
|
};
|
|
616
616
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfIterable = function (clauses) {
|
|
617
|
-
return this.
|
|
617
|
+
return this.l2z_1.mutableTheoryOfIterable(clauses);
|
|
618
618
|
};
|
|
619
619
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfWithUnificator = function (unificator, clauses) {
|
|
620
|
-
return this.
|
|
620
|
+
return this.l2z_1.mutableTheoryOfWithUnificator(unificator, clauses);
|
|
621
621
|
};
|
|
622
622
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOf = function (clauses) {
|
|
623
|
-
return this.
|
|
623
|
+
return this.l2z_1.mutableTheoryOf(clauses);
|
|
624
624
|
};
|
|
625
625
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfSequenceWithUnificator = function (clauses, unificator) {
|
|
626
|
-
return this.
|
|
626
|
+
return this.l2z_1.mutableTheoryOfSequenceWithUnificator(clauses, unificator);
|
|
627
627
|
};
|
|
628
628
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfSequence = function (clauses) {
|
|
629
|
-
return this.
|
|
629
|
+
return this.l2z_1.mutableTheoryOfSequence(clauses);
|
|
630
630
|
};
|
|
631
631
|
protoOf(LogicProgrammingScopeImpl).emptyTheoryWithUnificator = function (unificator) {
|
|
632
|
-
return this.
|
|
632
|
+
return this.l2z_1.emptyTheoryWithUnificator(unificator);
|
|
633
633
|
};
|
|
634
634
|
protoOf(LogicProgrammingScopeImpl).emptyTheory = function () {
|
|
635
|
-
return this.
|
|
635
|
+
return this.l2z_1.emptyTheory();
|
|
636
636
|
};
|
|
637
637
|
protoOf(LogicProgrammingScopeImpl).emptyMutableTheoryWithUnificator = function (unificator) {
|
|
638
|
-
return this.
|
|
638
|
+
return this.l2z_1.emptyMutableTheoryWithUnificator(unificator);
|
|
639
639
|
};
|
|
640
640
|
protoOf(LogicProgrammingScopeImpl).emptyMutableTheory = function () {
|
|
641
|
-
return this.
|
|
641
|
+
return this.l2z_1.emptyMutableTheory();
|
|
642
642
|
};
|
|
643
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
644
|
-
return this.
|
|
643
|
+
protoOf(LogicProgrammingScopeImpl).y1t = function () {
|
|
644
|
+
return this.n2z_1.y1t();
|
|
645
645
|
};
|
|
646
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
647
|
-
return this.
|
|
646
|
+
protoOf(LogicProgrammingScopeImpl).z1t = function () {
|
|
647
|
+
return this.n2z_1.z1t();
|
|
648
648
|
};
|
|
649
649
|
protoOf(LogicProgrammingScopeImpl).loadLibrary = function (library) {
|
|
650
|
-
this.
|
|
650
|
+
this.n2z_1.loadLibrary(library);
|
|
651
651
|
};
|
|
652
652
|
protoOf(LogicProgrammingScopeImpl).unloadLibrary = function (library) {
|
|
653
|
-
this.
|
|
653
|
+
this.n2z_1.unloadLibrary(library);
|
|
654
654
|
};
|
|
655
655
|
protoOf(LogicProgrammingScopeImpl).setLibraries = function (libraries) {
|
|
656
|
-
this.
|
|
656
|
+
this.n2z_1.setLibraries(libraries);
|
|
657
657
|
};
|
|
658
658
|
protoOf(LogicProgrammingScopeImpl).loadStaticKb = function (theory) {
|
|
659
|
-
this.
|
|
659
|
+
this.n2z_1.loadStaticKb(theory);
|
|
660
660
|
};
|
|
661
661
|
protoOf(LogicProgrammingScopeImpl).loadStaticClauses = function (clauses) {
|
|
662
|
-
this.
|
|
662
|
+
this.n2z_1.loadStaticClauses(clauses);
|
|
663
663
|
};
|
|
664
664
|
protoOf(LogicProgrammingScopeImpl).loadStaticClausesIterable = function (clauses) {
|
|
665
|
-
this.
|
|
665
|
+
this.n2z_1.loadStaticClausesIterable(clauses);
|
|
666
666
|
};
|
|
667
667
|
protoOf(LogicProgrammingScopeImpl).loadStaticClausesSequence = function (clauses) {
|
|
668
|
-
this.
|
|
668
|
+
this.n2z_1.loadStaticClausesSequence(clauses);
|
|
669
669
|
};
|
|
670
670
|
protoOf(LogicProgrammingScopeImpl).appendStaticKb = function (theory) {
|
|
671
|
-
this.
|
|
671
|
+
this.n2z_1.appendStaticKb(theory);
|
|
672
672
|
};
|
|
673
673
|
protoOf(LogicProgrammingScopeImpl).resetStaticKb = function () {
|
|
674
|
-
this.
|
|
674
|
+
this.n2z_1.resetStaticKb();
|
|
675
675
|
};
|
|
676
676
|
protoOf(LogicProgrammingScopeImpl).loadDynamicKb = function (theory) {
|
|
677
|
-
this.
|
|
677
|
+
this.n2z_1.loadDynamicKb(theory);
|
|
678
678
|
};
|
|
679
679
|
protoOf(LogicProgrammingScopeImpl).loadDynamicClauses = function (clauses) {
|
|
680
|
-
this.
|
|
680
|
+
this.n2z_1.loadDynamicClauses(clauses);
|
|
681
681
|
};
|
|
682
682
|
protoOf(LogicProgrammingScopeImpl).loadDynamicClausesIterable = function (clauses) {
|
|
683
|
-
this.
|
|
683
|
+
this.n2z_1.loadDynamicClausesIterable(clauses);
|
|
684
684
|
};
|
|
685
685
|
protoOf(LogicProgrammingScopeImpl).loadDynamicClausesSequence = function (clauses) {
|
|
686
|
-
this.
|
|
686
|
+
this.n2z_1.loadDynamicClausesSequence(clauses);
|
|
687
687
|
};
|
|
688
688
|
protoOf(LogicProgrammingScopeImpl).appendDynamicKb = function (theory) {
|
|
689
|
-
this.
|
|
689
|
+
this.n2z_1.appendDynamicKb(theory);
|
|
690
690
|
};
|
|
691
691
|
protoOf(LogicProgrammingScopeImpl).resetDynamicKb = function () {
|
|
692
|
-
this.
|
|
692
|
+
this.n2z_1.resetDynamicKb();
|
|
693
693
|
};
|
|
694
694
|
protoOf(LogicProgrammingScopeImpl).assertA = function (clause) {
|
|
695
|
-
this.
|
|
695
|
+
this.n2z_1.assertA(clause);
|
|
696
696
|
};
|
|
697
697
|
protoOf(LogicProgrammingScopeImpl).assertAFact = function (fact) {
|
|
698
|
-
this.
|
|
698
|
+
this.n2z_1.assertAFact(fact);
|
|
699
699
|
};
|
|
700
700
|
protoOf(LogicProgrammingScopeImpl).assertZ = function (clause) {
|
|
701
|
-
this.
|
|
701
|
+
this.n2z_1.assertZ(clause);
|
|
702
702
|
};
|
|
703
703
|
protoOf(LogicProgrammingScopeImpl).assertZFact = function (fact) {
|
|
704
|
-
this.
|
|
704
|
+
this.n2z_1.assertZFact(fact);
|
|
705
705
|
};
|
|
706
706
|
protoOf(LogicProgrammingScopeImpl).retractAll = function (clause) {
|
|
707
|
-
return this.
|
|
707
|
+
return this.n2z_1.retractAll(clause);
|
|
708
708
|
};
|
|
709
709
|
protoOf(LogicProgrammingScopeImpl).retractAllBeHead = function (fact) {
|
|
710
|
-
return this.
|
|
710
|
+
return this.n2z_1.retractAllBeHead(fact);
|
|
711
711
|
};
|
|
712
712
|
protoOf(LogicProgrammingScopeImpl).setFlag = function (name, value) {
|
|
713
|
-
this.
|
|
713
|
+
this.n2z_1.setFlag(name, value);
|
|
714
714
|
};
|
|
715
715
|
protoOf(LogicProgrammingScopeImpl).setFlagPair = function (flag) {
|
|
716
|
-
this.
|
|
716
|
+
this.n2z_1.setFlagPair(flag);
|
|
717
717
|
};
|
|
718
718
|
protoOf(LogicProgrammingScopeImpl).setFlagNotable = function (flag) {
|
|
719
|
-
this.
|
|
719
|
+
this.n2z_1.setFlagNotable(flag);
|
|
720
720
|
};
|
|
721
721
|
protoOf(LogicProgrammingScopeImpl).setStandardInput = function (stdIn) {
|
|
722
|
-
this.
|
|
722
|
+
this.n2z_1.setStandardInput(stdIn);
|
|
723
723
|
};
|
|
724
724
|
protoOf(LogicProgrammingScopeImpl).setStandardError = function (stdErr) {
|
|
725
|
-
this.
|
|
725
|
+
this.n2z_1.setStandardError(stdErr);
|
|
726
726
|
};
|
|
727
727
|
protoOf(LogicProgrammingScopeImpl).setStandardOutput = function (stdOut) {
|
|
728
|
-
this.
|
|
728
|
+
this.n2z_1.setStandardOutput(stdOut);
|
|
729
729
|
};
|
|
730
730
|
protoOf(LogicProgrammingScopeImpl).setWarnings = function (warnings) {
|
|
731
|
-
this.
|
|
731
|
+
this.n2z_1.setWarnings(warnings);
|
|
732
732
|
};
|
|
733
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
734
|
-
return this.
|
|
733
|
+
protoOf(LogicProgrammingScopeImpl).n1r = function () {
|
|
734
|
+
return this.n2z_1.n1r();
|
|
735
735
|
};
|
|
736
736
|
protoOf(LogicProgrammingScopeImpl).clone = function () {
|
|
737
|
-
return this.
|
|
737
|
+
return this.n1r();
|
|
738
738
|
};
|
|
739
739
|
protoOf(LogicProgrammingScopeImpl).solveListWithTimeout = function (goal, timeout) {
|
|
740
|
-
return this.
|
|
740
|
+
return this.n2z_1.solveListWithTimeout(goal, timeout);
|
|
741
741
|
};
|
|
742
742
|
protoOf(LogicProgrammingScopeImpl).solveList = function (goal) {
|
|
743
|
-
return this.
|
|
743
|
+
return this.n2z_1.solveList(goal);
|
|
744
744
|
};
|
|
745
745
|
protoOf(LogicProgrammingScopeImpl).solveListWithOptions = function (goal, options) {
|
|
746
|
-
return this.
|
|
746
|
+
return this.n2z_1.solveListWithOptions(goal, options);
|
|
747
747
|
};
|
|
748
748
|
protoOf(LogicProgrammingScopeImpl).solveOnceWithTimeout = function (goal, timeout) {
|
|
749
|
-
return this.
|
|
749
|
+
return this.n2z_1.solveOnceWithTimeout(goal, timeout);
|
|
750
750
|
};
|
|
751
751
|
protoOf(LogicProgrammingScopeImpl).solveOnce = function (goal) {
|
|
752
|
-
return this.
|
|
752
|
+
return this.n2z_1.solveOnce(goal);
|
|
753
753
|
};
|
|
754
754
|
protoOf(LogicProgrammingScopeImpl).solveOnceWithOptions = function (goal, options) {
|
|
755
|
-
return this.
|
|
755
|
+
return this.n2z_1.solveOnceWithOptions(goal, options);
|
|
756
756
|
};
|
|
757
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
758
|
-
return this.
|
|
757
|
+
protoOf(LogicProgrammingScopeImpl).w1t = function () {
|
|
758
|
+
return this.n2z_1.w1t();
|
|
759
759
|
};
|
|
760
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
761
|
-
return this.
|
|
760
|
+
protoOf(LogicProgrammingScopeImpl).x1t = function () {
|
|
761
|
+
return this.n2z_1.x1t();
|
|
762
762
|
};
|
|
763
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
764
|
-
return this.
|
|
763
|
+
protoOf(LogicProgrammingScopeImpl).f1u = function () {
|
|
764
|
+
return this.n2z_1.f1u();
|
|
765
765
|
};
|
|
766
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
767
|
-
return this.
|
|
766
|
+
protoOf(LogicProgrammingScopeImpl).a1u = function () {
|
|
767
|
+
return this.n2z_1.a1u();
|
|
768
768
|
};
|
|
769
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
770
|
-
return this.
|
|
769
|
+
protoOf(LogicProgrammingScopeImpl).b1u = function () {
|
|
770
|
+
return this.n2z_1.b1u();
|
|
771
771
|
};
|
|
772
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
773
|
-
return this.
|
|
772
|
+
protoOf(LogicProgrammingScopeImpl).g1u = function () {
|
|
773
|
+
return this.n2z_1.g1u();
|
|
774
774
|
};
|
|
775
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
776
|
-
return this.
|
|
775
|
+
protoOf(LogicProgrammingScopeImpl).h1u = function () {
|
|
776
|
+
return this.n2z_1.h1u();
|
|
777
777
|
};
|
|
778
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
779
|
-
return this.
|
|
778
|
+
protoOf(LogicProgrammingScopeImpl).i1u = function () {
|
|
779
|
+
return this.n2z_1.i1u();
|
|
780
780
|
};
|
|
781
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
782
|
-
return this.
|
|
781
|
+
protoOf(LogicProgrammingScopeImpl).j1u = function () {
|
|
782
|
+
return this.n2z_1.j1u();
|
|
783
783
|
};
|
|
784
784
|
function LogicProgrammingScopeWithResolution() {
|
|
785
785
|
}
|
|
@@ -798,7 +798,7 @@
|
|
|
798
798
|
protoOf(LogicProgrammingScopeImpl).consOfAny = consOfAny;
|
|
799
799
|
protoOf(LogicProgrammingScopeImpl).directiveOfAny = directiveOfAny;
|
|
800
800
|
protoOf(LogicProgrammingScopeImpl).withScope = withScope;
|
|
801
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
801
|
+
protoOf(LogicProgrammingScopeImpl).o2y = logicList;
|
|
802
802
|
protoOf(LogicProgrammingScopeImpl).logicList = logicList_0;
|
|
803
803
|
protoOf(LogicProgrammingScopeImpl).rule = rule;
|
|
804
804
|
protoOf(LogicProgrammingScopeImpl).clause2 = clause2;
|
|
@@ -919,11 +919,11 @@
|
|
|
919
919
|
protoOf(LogicProgrammingScopeImpl).anyMguWith = anyMguWith;
|
|
920
920
|
protoOf(LogicProgrammingScopeImpl).anyMatches = anyMatches;
|
|
921
921
|
protoOf(LogicProgrammingScopeImpl).anyUnifyWith = anyUnifyWith;
|
|
922
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
922
|
+
protoOf(LogicProgrammingScopeImpl).t2y = mgu;
|
|
923
923
|
protoOf(LogicProgrammingScopeImpl).mguAny = mguAny;
|
|
924
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
924
|
+
protoOf(LogicProgrammingScopeImpl).u2y = match;
|
|
925
925
|
protoOf(LogicProgrammingScopeImpl).matchAny = matchAny;
|
|
926
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
926
|
+
protoOf(LogicProgrammingScopeImpl).v2y = unify;
|
|
927
927
|
protoOf(LogicProgrammingScopeImpl).unifyAny = unifyAny;
|
|
928
928
|
protoOf(LogicProgrammingScopeImpl).convertToClause = convertToClause;
|
|
929
929
|
protoOf(LogicProgrammingScopeImpl).theory = theory;
|
|
@@ -932,7 +932,7 @@
|
|
|
932
932
|
protoOf(LogicProgrammingScopeImpl).mutableTheory = mutableTheory;
|
|
933
933
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfConcatenatedSequences = mutableTheoryOfConcatenatedSequences;
|
|
934
934
|
protoOf(LogicProgrammingScopeImpl).mutableTheoryOfConcatenatedIterables = mutableTheoryOfConcatenatedIterables;
|
|
935
|
-
protoOf(LogicProgrammingScopeImpl).
|
|
935
|
+
protoOf(LogicProgrammingScopeImpl).j1x = solverOf;
|
|
936
936
|
protoOf(LogicProgrammingScopeImpl).solverOf = solverOf_0;
|
|
937
937
|
protoOf(LogicProgrammingScopeImpl).staticKbByArray = staticKbByArray;
|
|
938
938
|
protoOf(LogicProgrammingScopeImpl).staticKbByIterable = staticKbByIterable;
|