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

7
LINES

< > BotCompany Repo | #1011472 // ai_numberOfVirtualWebs

JavaX fragment (include)

static long ai_numberOfVirtualWebs() {
  long n = 0;
  pcall { for (VirtualNodeIndex i : virtualNodeIndices()) pcall {
    n += i.numWebs();
  }}
  ret n;
}

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: #1011472
Snippet name: ai_numberOfVirtualWebs
Eternal ID of this version: #1011472/2
Text MD5: a9ced06c655f1928e4a08eab94dbf498
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-29 23:36:51
Source code size: 162 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 375 / 384
Version history: 1 change(s)
Referenced in: [show references]