1 | svoid nlLogic_fillBattleSpace(NLLogicChecker_v2 c, final L<RuleWithParams> battleSpace, bool debug) {
|
2 | VF2<IfThen, NLLogicChecker_v2.Matching> onRuleFired = voidfunc(IfThen rule, NLLogicChecker_v2.Matching m) {
|
3 | battleSpace.add(new RuleWithParams(rule, m.matches)); |
4 | }; |
5 | |
6 | if (c.useIterate) {
|
7 | print("Iterating over " + n2(c.rules, "rule"));
|
8 | applyNLLogicFacts_v4_iterate_verbose.set(debug); |
9 | applyNLLogicFacts_v4_iterate(c, onRuleFired, c.rules); |
10 | } else {
|
11 | applyNLLogicFacts_v4_verbose.set(debug); |
12 | applyNLLogicFacts_v4(c, onRuleFired, c.rules); |
13 | } |
14 | } |
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: | #1018153 |
| Snippet name: | nlLogic_fillBattleSpace |
| Eternal ID of this version: | #1018153/4 |
| Text MD5: | 7668d14d5a68b8823bdf022c5947ace3 |
| 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-05 13:15:53 |
| Source code size: | 589 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 599 / 633 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |