1 | static AI_Rule ai_rule(T3<S> a1, T3<S> a2, T3<S> c) { |
2 | if (a1 == null || a2 == null || c == null) null; |
3 | new AI_Rule r; |
4 | r.antecedents = ll(a1, a2); |
5 | r.consequent = c; |
6 | ret r; |
7 | } |
8 | |
9 | static AI_Rule ai_rule(T3<S> a1, T3<S> c) { |
10 | if (a1 == null || c == null) null; |
11 | new AI_Rule r; |
12 | r.antecedents = ll(a1); |
13 | r.consequent = c; |
14 | ret r; |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012141 |
Snippet name: | ai_rule - make AI_Rule |
Eternal ID of this version: | #1012141/3 |
Text MD5: | 0175a6cb1b87297243b4cb60b51e9f58 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-21 14:06:11 |
Source code size: | 352 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 393 / 423 |
Version history: | 2 change(s) |
Referenced in: | [show references] |