1 | svoid dm_gazelle_matchStep_additionalInput(GazelleTree t, SS inputsByType, O... _) { |
2 | if (t.rule() == null) ret; |
3 | bool debug = boolPar debug(_); |
4 | TextAndType next = get(t.rule().insWithType, t.mr.iCond); |
5 | if (next == null || !startsWith(next.type, "history-")) ret; |
6 | if (ai_ruleEngine2_matchStep(t.mr, inputsByType, true, _)) { |
7 | if (debug) print("Input match OK. new map: " + t.mr.map + ". Updating prediction."); |
8 | gazelle_addPredictionToTreeNode(t); |
9 | } else |
10 | if (debug) print("Input match failed"); |
11 | } |
Began life as a copy of #1022069
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: | #1022400 |
Snippet name: | dm_gazelle_matchStep_additionalInput |
Eternal ID of this version: | #1022400/7 |
Text MD5: | c74bc245bc9b1ca21f3c694264b3a4e7 |
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-16 21:28:32 |
Source code size: | 526 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 311 / 331 |
Version history: | 6 change(s) |
Referenced in: | [show references] |