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

11
LINES

< > BotCompany Repo | #1012855 // thoughtSpaceSizePrinter

JavaX fragment (include)

1  
static void thoughtSpaceSizePrinter() {
2  
  final AbstractThoughtSpace ts = thoughtSpace();
3  
  doEvery_daemon(1000, new Runnable {
4  
    int n = ts.size();
5  
    public void run() {
6  
      int _n = ts.size();
7  
      if (_n != n)
8  
        print("Thought space size: " + (n = _n));
9  
    }
10  
  });
11  
}

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: #1012855
Snippet name: thoughtSpaceSizePrinter
Eternal ID of this version: #1012855/2
Text MD5: 62a37d87774ae6a02c20decfb6a8d2d5
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-14 19:34:13
Source code size: 293 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 298 / 333
Version history: 1 change(s)
Referenced in: [show references]