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

19
LINES

< > BotCompany Repo | #1003803 // Test Random v7 Solvers On Standard Examples

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

Libraryless. Click here for Pure Java version (2640L/18K/61K).

1  
!759
2  
3  
!include #1003797 // Thinker
4  
!include #1003816 // Solvers
5  
6  
static int exampleToRun;
7  
8  
p {
9  
  if (args.length != 0)
10  
    exampleToRun = parseInt(args[0]);
11  
  
12  
  S examplesText = loadSnippet("#1003801"); // Examples
13  
  L<S> examples = splitAtDashLines(examplesText);
14  
  
15  
  if (exampleToRun != 0)
16  
    examples = subList(examples, exampleToRun-1, exampleToRun);
17  
    
18  
  solveExamples(examples);
19  
}

Author comment

Began life as a copy of #1003798

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, nbgitpuheiab, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003803
Snippet name: Test Random v7 Solvers On Standard Examples
Eternal ID of this version: #1003803/1
Text MD5: 36ade3353bac41bbc4d4f8a813585a53
Transpilation MD5: 7e6758684392cb736c9d92b274989f0f
Author: stefan
Category: javax / talking robots
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-28 02:59:49
Source code size: 411 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 529 / 622
Referenced in: [show references]