Libraryless. Click here for Pure Java version (8367L/53K).
1 | // uses rules in unclear list "Rules" |
2 | static MultiSet<S> dm_ai_groupingsToDeducedFactsMultiSet(Cl<S> groupings) { |
3 | S rules = joinWithEmptyLines(dm_getUnclearList("Rules")); |
4 | MultiSet<S> factsHistogram = ciMultiSet(); |
5 | |
6 | fOr (S grouping : groupings) { |
7 | S program = joinWithEmptyLines(rules, grouping); |
8 | Cl<S> facts = philosophyBot1_quick(program); |
9 | print("Got " + nFacts(facts) + " for " + quote(grouping)); |
10 | factsHistogram.addAll(facts); |
11 | } |
12 | |
13 | ret factsHistogram; |
14 | } |
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: | 228 / 317 |
Version history: | 2 change(s) |
Referenced in: | [show references] |