1 | static L<TripleWeb> ai_thoughtSpace_queryTriples(Symbol a, Symbol b, Symbol c, AbstractThoughtSpace ts) { |
2 | L<TripleWeb> l = null; |
3 | if (!isDollarVar(a)) { |
4 | if (!isDollarVar(b)) ret ts.getOneTwo(a, b); |
5 | l = shortestListUnlessNull2(l, ts.getTriples(a, 0)); |
6 | if (l(l) <= 1) ret l; |
7 | } |
8 | if (!isDollarVar(b)) { |
9 | l = shortestListUnlessNull2(l, ts.getTriples(b, 1)); |
10 | if (l(l) <= 1) ret l; |
11 | } |
12 | if (!isDollarVar(c)) l = shortestListUnlessNull2(l, ts.getTriples(c, 2)); |
13 | ret l; |
14 | } |
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: | 424 / 465 |
Version history: | 3 change(s) |
Referenced in: | [show references] |