Warning: session_start(): open(/var/lib/php/sessions/sess_3bmihrmltn3mvshtvir26mt6a0, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
abstract sclass Agent { Collection concepts; // input new LinkedHashSet statements; // output int duplicates; // number of already known statements emitted abstract void impl(); void emit(S s) { if (!isTruth(s) && statements.add(s)) print("> " + s + " - " + conceptLanguageToEnglish(s)); else ++duplicates; } void runLive(bool doIt) { concepts = aiConcepts(); statements.clear(); impl(); S s = "Have " + n(statements, "statements") + " to add"; if (duplicates != 0) s += " (+" + n(duplicates, "duplicate") + ")"; print(s); if (doIt) { print("ADDING."); addTruth(statements); } } void doIt { runLive(true); } void testRun { runLive(false); } void runLine(S[] args) { runLive(eqic(get(args, 0), "doit")); } }