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

16
LINES

< > BotCompany Repo | #1021787 // Gazelle: All Rule Applications

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (18624L/104K).

!7

!include #1021788

cmodule AppliedRules > DynAppliedRules {
  // API
  
  // ruleID -> count
  Map<S, Int> statsForNonJudged() {
    new MultiSet<S> ms;
    for (AppliedRule r : concepts())
      if (empty(r.judgement))
        ms.add(r.ruleID);
    ret multiSetToMap(ms);
  }
}

Author comment

Began life as a copy of #1021413

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: #1021787
Snippet name: Gazelle: All Rule Applications
Eternal ID of this version: #1021787/11
Text MD5: 02048317328b6e10c1d229d99d50ac0e
Transpilation MD5: d8145a6495c649291599168aa320d966
Author: stefan
Category: javax / a.i.
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-05 21:28:54
Source code size: 297 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 273 / 11957
Version history: 10 change(s)
Referenced in: [show references]