OSDN Git Service

use linear regression to solve system. this is a workaround for singular matrix.
[shogi-server/shogi-server.git] / pairing.rb
index 1ca31df..3a577e9 100644 (file)
@@ -4,8 +4,8 @@ module ShogiServer
 
     class << self
       def default_pairing
-        return SwissPairing.new
-        #return ExcludeSacrifice.new(SwissPairing.new)
+        #return SwissPairing.new
+        return ExcludeSacrifice.new(SwissPairing.new)
         #return RandomPairing.new
         #return ExcludeSacrifice.new(RandomPairing.new)
       end