Download Jar. Libraryless. Click here for Pure Java version (19287L/137K).
!7 !include #1012676 p { ai_alternativeSmartBot(); ai_useThoughtSpaces(true); ActualThoughtSpace myTS = new ActualThoughtSpace(currentThoughtSpace()); thoughtSpace(myTS); myTS.blockedPatterns.add(t3("Haskell", "is", "$Y")); assertContainsIC(print(ai_texts("Java", "is", "$X")), "a programming language"); poorMansProfiling(); repeat 100 { myTS.blockedPatterns.add(t3("Java", "is", "$Y")); assertDoesntContainIC(print(ai_texts("Java", "is", "$X")), "a programming language"); myTS.blockedPatterns.remove(t3("Java", "is", "$Y")); assertContainsIC(print(ai_texts("Java", "is", "$X")), "a programming language"); } poorMansProfiling_stopAndPrintResults(); print("OK"); }
Began life as a copy of #1012651
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: | #1012664 | 
| Snippet name: | Test Thought Blocking v1 (OK) | 
| Eternal ID of this version: | #1012664/7 | 
| Text MD5: | 98c577d4e85bd13bcc755ca563f176c5 | 
| Transpilation MD5: | 644c2b7cabf7ddf6594ea58a73162116 | 
| 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 02:55:06 | 
| Source code size: | 742 bytes / 25 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 751 / 1834 | 
| Version history: | 6 change(s) | 
| Referenced in: | [show references] |