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

5
LINES

< > BotCompany Repo | #1011757 // ai_trivialTriple - check if triple is "trivial"

JavaX fragment (include)

static bool ai_trivialTriple(T3<S> t) {
  if (t == null) true;
  ret eq(t.b, "?") && eq(t.c, "?")
    || eq(t.b, ".") && eq(t.c, ".");
}

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: #1011757
Snippet name: ai_trivialTriple - check if triple is "trivial"
Eternal ID of this version: #1011757/3
Text MD5: ef31cda19d298d12a21a22ec8ec3533a
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-04 16:11:33
Source code size: 140 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 540 / 561
Version history: 2 change(s)
Referenced in: [show references]