Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

20
LINES

< > BotCompany Repo | #1012155 // Solve question and analyze (dev.)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (19074L/138K).

!7

p {
  centerHigherConsole();
  autoRestart(5);
  S q = "is 6 bigger than 3?";
  print(q);
  if (ai_text("$X", "answers", q) != null) fail("Already have solution");
  ai_callSpeculationFunction_functionsCalled.set(new HashSet);
  
  ai_speculate_functions.remove(f ai_spec_searchForAnswer);
  ai_speculate_functions.add(f ai_spec_searchForAnswer_v2);
  
  Pair<AI_SubSpace, S> p = ai_solveQuestionInSubSpace_noTimeOut2(q);
  print("Answer: " + p.b);
  print("Functions called: " + sortedList(ai_callSpeculationFunction_functionsCalled!));
  
  ai_printSubSpace(p.a);
  ai_analyzeSubSpace(p.a);
}

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: #1012155
Snippet name: Solve question and analyze (dev.)
Eternal ID of this version: #1012155/12
Text MD5: d4a5c188231158304b7f69cf6f1304cc
Transpilation MD5: dfc708e0ec62f334084a329188a7da4c
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-11-22 09:33:11
Source code size: 617 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 600 / 1647
Version history: 11 change(s)
Referenced in: #3000512 - Smart Bot's answer to: !eval centralRestartLog_raw()