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

15
LINES

< > BotCompany Repo | #1012141 // ai_rule - make AI_Rule

JavaX fragment (include)

static AI_Rule ai_rule(T3<S> a1, T3<S> a2, T3<S> c) {
  if (a1 == null || a2 == null || c == null) null;
  new AI_Rule r;
  r.antecedents = ll(a1, a2);
  r.consequent = c;
  ret r;
}

static AI_Rule ai_rule(T3<S> a1, T3<S> c) {
  if (a1 == null || c == null) null;
  new AI_Rule r;
  r.antecedents = ll(a1);
  r.consequent = c;
  ret r;
}

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: 321 / 348
Version history: 2 change(s)
Referenced in: [show references]