OSDN Git Service

changed x-bias of black and that of white, in order to place the evaluation by the...
authortkaneko <tkaneko@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Tue, 6 Oct 2009 07:29:30 +0000 (07:29 +0000)
committertkaneko <tkaneko@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Tue, 6 Oct 2009 07:29:30 +0000 (07:29 +0000)
utils/eval_graph.rb

index 782d254..59e1f06 100755 (executable)
@@ -142,7 +142,7 @@ module EvalGraph
     def eval_values
       moves = []
       comments.each_with_index do |c, i|
-        moves << i*2 + 1 if c
+        moves << i*2 if c
       end
       moves.unshift 0
       [moves, comments.compact.unshift(0)]
@@ -171,7 +171,7 @@ module EvalGraph
     def eval_values
       moves = []
       comments.each_with_index do |c, i|
-        moves << i*2 if c
+        moves << i*2+1 if c
       end
       moves.unshift 0
       [moves, comments.compact.unshift(0)]