Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1021974 // dm_gazelle_statementsForRule_multiSet

JavaX fragment (include)

1  
static MultiSet<S> dm_gazelle_statementsForRule_multiSet(S ruleID) {
2  
  L concepts = cloneList((L) dm_requireAndCall("#1021413/AppliedRules", 'feedbackForRule, ruleID));
3  
  new MultiSet<S> statements;
4  
  for (O c : concepts) pcall {
5  
    S judgement = getString judgement(c);
6  
    S struct = getString matchedRuleStruct(c);
7  
    RuleEngine2_MatchedRule mr = cast unstructureUnlessContainsAnonymousClasses(struct);
8  
    if (mr == null) continue;
9  
    statements.addAll(ai_gazelle_statementsFromAppliedRule(mr, judgement));
10  
  }
11  
  ret statements;
12  
}

Author comment

Began life as a copy of #1021852

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: #1021974
Snippet name: dm_gazelle_statementsForRule_multiSet
Eternal ID of this version: #1021974/3
Text MD5: ddcbb019703827d5d8c0107b9c37114e
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-04 14:57:29
Source code size: 548 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 283 / 334
Version history: 2 change(s)
Referenced in: [show references]