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

8
LINES

< > BotCompany Repo | #1011350 // thoughtSpace_indexedWebs

JavaX fragment (include)

1  
static L<Web> thoughtSpace_indexedWebs(WebThoughtSpace ts, S... queries) {
2  
  new LL<WebNode> lists;
3  
  for (S q : queries)
4  
    if (!isDollarVar(q))
5  
      lists.add(ts.indexedNodes(q));
6  
  if (empty(lists)) ret ts.webs;
7  
  ret nodesToWebs(shortestList(lists));
8  
}

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: #1011350
Snippet name: thoughtSpace_indexedWebs
Eternal ID of this version: #1011350/3
Text MD5: c3162822fbe73e102bfb11ff46325a8b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-25 22:00:11
Source code size: 265 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 411 / 451
Version history: 2 change(s)
Referenced in: [show references]