static L<Web> thoughtSpace_indexedWebs(WebThoughtSpace ts, S... queries) { new LL<WebNode> lists; for (S q : queries) if (!isDollarVar(q)) lists.add(ts.indexedNodes(q)); if (empty(lists)) ret ts.webs; ret nodesToWebs(shortestList(lists)); }
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: | 409 / 449 |
Version history: | 2 change(s) |
Referenced in: | [show references] |