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)

static MultiSet<S> dm_gazelle_statementsForRule_multiSet(S ruleID) {
  L concepts = cloneList((L) dm_requireAndCall("#1021413/AppliedRules", 'feedbackForRule, ruleID));
  new MultiSet<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;
}

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: 284 / 335
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)