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

17
LINES

< > BotCompany Repo | #1011494 // ai_cache_hasTriple_verified

JavaX fragment (include)

static bool ai_cache_hasTriple_verified(S a, S b, S c) {
   if (a == null || b == null || c == null) false;
  
  if (ai_useThoughtSpaces())
    ret thoughtSpace().hasTriple_verified(symbol(a), symbol(b), symbol(c));
  
  AI_CacheChecker checker = ai_cacheChecker();
  if (checker != null && checker.hasTriple(symbol(a), symbol(b), symbol(c))) true;

  L<Web> webs = ai_fewestIndexedWebs_verified(a, b, c);
  bool x = webs_search_noVar_bool(webFromTriple(a, b, c), webs);
  ret x;
}

static bool ai_cache_hasTriple_verified(T3<S> t) {
  ret ai_cache_hasTriple_verified(t.a, t.b, t.c);
}

Author comment

Began life as a copy of #1011336

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: #1011494
Snippet name: ai_cache_hasTriple_verified
Eternal ID of this version: #1011494/4
Text MD5: 5c833405e23ac4525c1c75f919070a9f
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-18 00:15:41
Source code size: 601 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 484 / 492
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)