1 | static L<dm_gazelle_appliedRulesForLearning_Entry> dm_gazelle_appliedRulesForLearning_withoutChangedRules() { |
2 | Map<S, RuleEngine2.Rule> rules = dm_gazelle_rulesByID(); |
3 | L<dm_gazelle_appliedRulesForLearning_Entry> l = dm_gazelle_appliedRulesForLearning(); |
4 | new L<dm_gazelle_appliedRulesForLearning_Entry> out; |
5 | for (dm_gazelle_appliedRulesForLearning_Entry e : l) { |
6 | RuleEngine2.Rule rule = rules.get(e.ruleID); |
7 | e.r.rule.vars = asCISet(e.r.rule.vars); |
8 | S s1 = struct(rule), s2 = struct(e.r.rule); |
9 | if (eq(s1, s2)) |
10 | out.add(e); |
11 | } |
12 | ret out; |
13 | } |
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: | 258 / 299 |
Referenced in: | [show references] |