Libraryless. Click here for Pure Java version (8367L/53K).
// uses rules in unclear list "Rules" static MultiSet<S> dm_ai_groupingsToDeducedFactsMultiSet(Cl<S> groupings) { S rules = joinWithEmptyLines(dm_getUnclearList("Rules")); MultiSet<S> factsHistogram = ciMultiSet(); fOr (S grouping : groupings) { S program = joinWithEmptyLines(rules, grouping); Cl<S> facts = philosophyBot1_quick(program); print("Got " + nFacts(facts) + " for " + quote(grouping)); factsHistogram.addAll(facts); } ret factsHistogram; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027137 |
Snippet name: | dm_ai_groupingsToDeducedFactsMultiSet |
Eternal ID of this version: | #1027137/3 |
Text MD5: | 1bc7d2f8dc09e50186f0806686cf7ff7 |
Transpilation MD5: | af825a0a10c519ce650d29f9d0464eeb |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-21 15:21:07 |
Source code size: | 493 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 226 / 314 |
Version history: | 2 change(s) |
Referenced in: | [show references] |