static L<TripleWeb> ai_thoughtSpace_queryTriples(Symbol a, Symbol b, Symbol c, AbstractThoughtSpace ts) { L<TripleWeb> l = null; if (!isDollarVar(a)) { if (!isDollarVar(b)) ret ts.getOneTwo(a, b); l = shortestListUnlessNull2(l, ts.getTriples(a, 0)); if (l(l) <= 1) ret l; } if (!isDollarVar(b)) { l = shortestListUnlessNull2(l, ts.getTriples(b, 1)); if (l(l) <= 1) ret l; } if (!isDollarVar(c)) l = shortestListUnlessNull2(l, ts.getTriples(c, 2)); ret l; }
Began life as a copy of #1012653
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: | #1012777 |
Snippet name: | ai_thoughtSpace_queryTriples |
Eternal ID of this version: | #1012777/4 |
Text MD5: | 93e79a9c30748383e4e95abc19aa29a8 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-13 21:19:51 |
Source code size: | 503 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 423 / 463 |
Version history: | 3 change(s) |
Referenced in: | [show references] |