Download Jar. Libraryless. Click here for Pure Java version (19056L/135K).
!7 p { ai_alternativeSmartBot(); ai_useThoughtSpaces(true); ActualThoughtSpace myTS = new ActualThoughtSpace(currentThoughtSpace()); thoughtSpace(myTS); myTS.blockedA = litciset("Haskell"); assertContainsIC(print(ai_texts("Java", "is", "$X")), "a programming language"); bench 10000 { myTS.blockedA.add("Java"); assertDoesntContainIC(ai_texts("Java", "is", "$X"), "a programming language"); myTS.blockedA.remove("Java"); assertContainsIC(ai_texts("Java", "is", "$X"), "a programming language"); } print("OK"); }
Began life as a copy of #1012664
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012677 |
Snippet name: | Test Thought Blocking v2 (OK, and super-fast) |
Eternal ID of this version: | #1012677/8 |
Text MD5: | 8346cc9895cc7fa32a4a390d34af0ec5 |
Transpilation MD5: | 82e10beb1881bf8358c7cebcb8c9bcbc |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-10 21:36:34 |
Source code size: | 580 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 421 / 1101 |
Version history: | 7 change(s) |
Referenced in: | #1012716 - Test Thought Blocking v3 (with symbols, OK) |