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

22
LINES

< > BotCompany Repo | #1008204 // printThoughtSpaces

JavaX fragment (include)

please include function getThoughtSpace.

static void printThoughtSpaces() {
  printThoughtSpaces(false);
}

static void printThoughtSpaces_englishOnly() {
  printThoughtSpaces(true);
}

static void printThoughtSpaces(bool englishOnly) {
  for (ThoughtSpace ts : values(getThoughtSpace_map)) {
    print();
    print("Thought Space " + ts.globalID + ":\n");
    for (LispStatement s : values(ts.statements)) {
      printIndent("[" + s.globalID + "] " + lispToEnglish_prettier(s.term));
      if (!englishOnly)
        printIndent("  " + s.term);
    }
    print();
  }
}

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: #1008204
Snippet name: printThoughtSpaces
Eternal ID of this version: #1008204/8
Text MD5: cf7a557b053e43d52a829c94474097d8
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-30 14:23:37
Source code size: 592 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 566 / 538
Version history: 7 change(s)
Referenced in: [show references]