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

13
LINES

< > BotCompany Repo | #1012111 // has - synonym of ai_cache_hasTriple

JavaX fragment (include)

1  
static bool has(S a, S b, S c) {
2  
  ifdef TripleAI
3  
  if (ai_cache_hasTriple(a, b, c)) true;
4  
  endifdef
5  
  ret false;
6  
}
7  
8  
static bool has(T3<S> t) {
9  
  ifdef TripleAI
10  
  if (ai_cache_hasTriple(t)) true;
11  
  endifdef
12  
  ret false;
13  
}

Author comment

Began life as a copy of #1011404

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: #1012111
Snippet name: has - synonym of ai_cache_hasTriple
Eternal ID of this version: #1012111/9
Text MD5: 2bd121cdbbe0230e53d665745f622d1a
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-22 23:35:41
Source code size: 234 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 554 / 605
Version history: 8 change(s)
Referenced in: [show references]