static ExecutedRule nlLogic_executedRuleFromRuleWithParams(RuleWithParams r) { ret nlLogic_executedRuleFromRuleWithParams(r, null); } static ExecutedRule nlLogic_executedRuleFromRuleWithParams(RuleWithParams r, NLLogicChecker_v2 logicChecker) { L<Exp> l = nlLogic_unrollAndApplyRuleWithParams(r); if (r cast FailedRule) { new ExecutedRule e; e.logicChecker = logicChecker; e.rule = r; assertNotNull(r.remainingCondition); ret e; } ExecutedRule e = ExecutedRule(r, nlLogic_certainOperatorArgs(l, 'output, 'say), nlLogic_certainOperatorArgs(l, 'fact), nlLogic_certainOperatorArgs(l, 'input)); e.logicChecker = logicChecker; ret e; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018276 |
| Snippet name: | nlLogic_executedRuleFromRuleWithParams |
| Eternal ID of this version: | #1018276/6 |
| Text MD5: | 6dc20a7648ce9d8aa052725a7d4995e2 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-09-23 18:41:54 |
| Source code size: | 696 bytes / 20 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 581 / 612 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |