static L<dm_gazelle_appliedRulesForLearning_Entry> dm_gazelle_appliedRulesForLearning_withoutChangedRules() { Map<S, RuleEngine2.Rule> rules = dm_gazelle_rulesByID(); L<dm_gazelle_appliedRulesForLearning_Entry> l = dm_gazelle_appliedRulesForLearning(); new L<dm_gazelle_appliedRulesForLearning_Entry> out; for (dm_gazelle_appliedRulesForLearning_Entry e : l) { RuleEngine2.Rule rule = rules.get(e.ruleID); e.r.rule.vars = asCISet(e.r.rule.vars); S s1 = struct(rule), s2 = struct(e.r.rule); if (eq(s1, s2)) out.add(e); } ret out; }
Began life as a copy of #1021446
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: | #1021451 |
Snippet name: | dm_gazelle_appliedRulesForLearning_withoutChangedRules - without rules that have been changed after application |
Eternal ID of this version: | #1021451/1 |
Text MD5: | c31e249adc4f499e729c49cebc33120d |
Author: | stefan |
Category: | javax / stefan's os / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-13 00:12:01 |
Source code size: | 576 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 259 / 299 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |