1 | static L<TripleWeb> ai_triples_multi(Collection<Symbol> a, Collection<Symbol> b, Collection<Symbol> c, AbstractThoughtSpace ts) {
|
2 | new LinkedHashSet<TripleWeb> l; |
3 | if (!empty(a) && !empty(b) && !empty(c)) |
4 | for (Symbol _a : a) |
5 | for (Symbol _b : b) |
6 | for (Symbol _c : c) |
7 | l.addAll(ai_triples(_a, _b, _c, ts)); |
8 | ret cloneList(l); |
9 | } |
10 | |
11 | static L<TripleWeb> ai_triples_multi(Symbol a, Collection<Symbol> b, Symbol c, AbstractThoughtSpace ts) {
|
12 | ret ai_triples_multi(ll(a), b, ll(c), ts); |
13 | } |
14 | |
15 | static L<TripleWeb> ai_triples_multi(Collection<Symbol> a, Collection<Symbol> b, Symbol c, AbstractThoughtSpace ts) {
|
16 | ret ai_triples_multi(a, b, ll(c), ts); |
17 | } |
18 | |
19 | static L<TripleWeb> ai_triples_multi(Collection<Symbol> a, Symbol b, Symbol c, AbstractThoughtSpace ts) {
|
20 | ret ai_triples_multi(a, ll(b), ll(c), ts); |
21 | } |
22 | |
23 | static L<TripleWeb> ai_triples_multi(Symbol a, Symbol b, Collection<Symbol> c, AbstractThoughtSpace ts) {
|
24 | ret ai_triples_multi(ll(a), ll(b), c, ts); |
25 | } |
Began life as a copy of #1012596
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: | #1012814 |
| Snippet name: | ai_triples_multi |
| Eternal ID of this version: | #1012814/8 |
| Text MD5: | c7875ba91ae75a5d6b5f6f2b1b2b7a88 |
| 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 20:06:33 |
| Source code size: | 1004 bytes / 25 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 591 / 621 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |