File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7272ruby-json :
7373  desc : an optimized version of the json_pure gem's pure Ruby JSON parser. 
7474rubykon :
75-   desc : Ruby solver for Go (the boardgame.) Runs 1,000  iterations forward from an initial starting board. 
75+   desc : Ruby solver for Go (the boardgame.) Runs many  iterations forward from an initial starting board. 
7676tinygql :
7777  desc : TinyGQL gem parsing a large file in pure Ruby 
7878nqueens :
Original file line number Diff line number Diff line change 99# Note: it's hard to validate correct behaviour because it's a Monte Carlo tree search. It doesn't 
1010# return the same stable best_move, even for identical initial board state and number of iterations. 
1111
12- ITERATIONS  =  1000 
13- game_state_19  =  Rubykon ::GameState . new  Rubykon ::Game . new ( 19 ) 
12+ ITERATIONS  =  100 
13+ game_state  =  Rubykon ::GameState . new  Rubykon ::Game . new ( 19 ) 
1414mcts  =  MCTS ::MCTS . new 
1515
1616run_benchmark ( 10 )  do 
17-   mcts . start  game_state_19 ,  ITERATIONS 
17+   mcts . start  game_state ,  ITERATIONS 
1818end 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments