Uses 5262K of libraries. Click here for Pure Java version (3680L/25K/82K).
!752 !include #1004873 // Sucker !include #1004875 // Feeder static Sucker sucker; static Feeder feeder; p { File f = //getNewestFile(allEventLogs()); getProgramFile("#1004309", "brainstorm/event.log"); assertTrue("Not chat log found at " + f2s(f), f.exists()); L<S> log = collect(scanEventLogForPosts(f), "text"); printStructure("Log: ", log); S text = joinLines(log); sucker = new Sucker(text); print("Score: " + sucker.highestScore()); feeder = new Feeder(sucker, "#1004744", "#1004720"); feeder.resetStrategies(); try { while licensed { feeder.oneRound(); if (feeder.highestScore() >= 100) feeder.nextPivotLength(); } } catch CleanExit e { print("Clean exit: " + e.getMessage()); } finally { print("Final score: " + sucker.highestScore() + " at pivot length " + feeder.pivotLength()); } }
Began life as a copy of #1003979
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004871 |
Snippet name: | Process "Brainstorm" [Sim Predict, dev.] |
Eternal ID of this version: | #1004871/1 |
Text MD5: | f8cc266aadb87a4427bde89a9475ded5 |
Transpilation MD5: | 1264f958fcb844a8b0ab755e668983bc |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-09-11 23:22:54 |
Source code size: | 899 bytes / 33 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 627 / 748 |
Referenced in: | -