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

12
LINES

< > BotCompany Repo | #1021852 // dm_gazelle_statementsForRule

JavaX fragment (include)

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;
}

Author comment

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: 269 / 311
Version history: 1 change(s)
Referenced in: [show references]