1 | static LS ai_matchRulesWithMultipleConditions_precise(LPair<LS, S> rules, Set<S> facts) { |
2 | new LS out; |
3 | for (Pair<LS, S> rule : unnull(rules)) |
4 | if (containsAll(facts, rule.a)) |
5 | out.add(rule.b); |
6 | ret out; |
7 | } |
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: | #1021394 |
Snippet name: | ai_matchRulesWithMultipleConditions_precise |
Eternal ID of this version: | #1021394/1 |
Text MD5: | 492b6aeedcbbaf6ddb4fe964f345f739 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-10 17:46:50 |
Source code size: | 222 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 248 / 282 |
Referenced in: | [show references] |