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

25
LINES

< > BotCompany Repo | #1012814 // ai_triples_multi

JavaX fragment (include)

static L<TripleWeb> ai_triples_multi(Collection<Symbol> a, Collection<Symbol> b, Collection<Symbol> c, AbstractThoughtSpace ts) {
  new LinkedHashSet<TripleWeb> l;
  if (!empty(a) && !empty(b) && !empty(c))
    for (Symbol _a : a)
      for (Symbol _b : b)
        for (Symbol _c : c)
          l.addAll(ai_triples(_a, _b, _c, ts));
  ret cloneList(l);
}

static L<TripleWeb> ai_triples_multi(Symbol a, Collection<Symbol> b, Symbol c, AbstractThoughtSpace ts) {
  ret ai_triples_multi(ll(a), b, ll(c), ts);
}

static L<TripleWeb> ai_triples_multi(Collection<Symbol> a, Collection<Symbol> b, Symbol c, AbstractThoughtSpace ts) {
  ret ai_triples_multi(a, b, ll(c), ts);
}

static L<TripleWeb> ai_triples_multi(Collection<Symbol> a, Symbol b, Symbol c, AbstractThoughtSpace ts) {
  ret ai_triples_multi(a, ll(b), ll(c), ts);
}

static L<TripleWeb> ai_triples_multi(Symbol a, Symbol b, Collection<Symbol> c, AbstractThoughtSpace ts) {
  ret ai_triples_multi(ll(a), ll(b), c, ts);
}

Author comment

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: 372 / 396
Version history: 7 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000475 - Smart Bot's answer to: !fresh recentlyChangedSnippets()