static void printThoughtSpace(AbstractThoughtSpace ts) { if (ts == null) ret; if (ts instanceof GlobalThoughtSpace) ret with print("Global thought space"); if (!ts instanceof ActualThoughtSpace) ret with print(className(ts)); ActualThoughtSpace ats = cast ts; print("Thought space with " + nWeb(ts.size()) + ":"); for (TripleWeb w : ats.index.allTriples()) print(" " + w); print(); } static void printThoughtSpace() { printThoughtSpace(currentThoughtSpace()); }
Began life as a copy of #1012156
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: | #1012726 |
| Snippet name: | printThoughtSpace |
| Eternal ID of this version: | #1012726/2 |
| Text MD5: | 85456c73a76544141be78252d0d7eadc |
| 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-11 02:43:32 |
| Source code size: | 500 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 691 / 725 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |