static Set<S> dm_gazelle_statementsForRule(S ruleID) { L concepts = cloneList((L) dm_requireAndCall("#1021413/AppliedRules", 'feedbackForRule, ruleID)); new TreeSet<S> statements; for (O c : concepts) pcall { S judgement = getString judgement(c); S struct = getString matchedRuleStruct(c); RuleEngine2_MatchedRule mr = cast unstructureUnlessContainsAnonymousClasses(struct); if (mr == null) continue; statements.addAll(ai_gazelle_statementsFromAppliedRule(mr, judgement)); } ret statements; }
Began life as a copy of #1021432
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1021852 |
Snippet name: | dm_gazelle_statementsForRule |
Eternal ID of this version: | #1021852/2 |
Text MD5: | 3133d369b94eb48eebf6a6533dbf2b22 |
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-03-02 15:37:10 |
Source code size: | 533 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 270 / 312 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1021861 - dm_gazelle_dataForRule #1021974 - dm_gazelle_statementsForRule_multiSet |