svoid dm_gazelle_matchAdditionalInput3(L<GazelleTree> l, SS inputsByType, O... _) { for (GazelleTree t : l) if (t.rule() != null) { RuleEngine2_MatchedRule mr = t.mr; L<TextAndType> insWithType = t.rule().insWithType; while licensed { int iCond = t.mr.iCond; TextAndType next = get(insWithType, iCond); if (next == null || !startsWith(next.type, "history-")) break; if (ai_ruleEngine2_matchStep(t.mr, inputsByType, true, _)) { print("Input match OK. new map: " + t.mr.map + ". Updating prediction."); gazelle_addPredictionToTreeNode(t); } else break with print("Input match failed"); } } }
Began life as a copy of #1021779
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022069 |
Snippet name: | dm_gazelle_matchAdditionalInput3 |
Eternal ID of this version: | #1022069/5 |
Text MD5: | 7ffb7d57b9b1f86c1283b303fb716d68 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-06 10:54:04 |
Source code size: | 709 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 268 / 300 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1022400 - dm_gazelle_matchStep_additionalInput |