sbool ai_cache_hasTriple_debug; static bool ai_cache_hasTriple(S a, S b, S c) { if (a == null || b == null || c == null) false; if (ai_useThoughtSpaces()) ret thoughtSpace().hasTriple(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(a, b, c); bool x = webs_search_noVar_bool(webFromTriple(a, b, c), webs); if (ai_cache_hasTriple_debug) print("hasTriple: " + sfuLL(a, b, c, x) + ", searched " + nWebs(webs)); ret x; } static bool ai_cache_hasTriple(T3<S> t) { ret ai_cache_hasTriple(t.a, t.b, t.c); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, ppjhyzlbdabe, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011336 |
Snippet name: | ai_cache_hasTriple |
Eternal ID of this version: | #1011336/12 |
Text MD5: | 2489a54734725d59f19ef87b38865575 |
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-13 23:30:23 |
Source code size: | 700 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 634 / 671 |
Version history: | 11 change(s) |
Referenced in: | [show references] |