OSDN Git Service

[shogi-server] New pairing algorithm: ShogiServer::Pairing::LeastDiff
authorDaigo Moriwaki <beatles@users.sourceforge.jp>
Wed, 20 Mar 2013 08:23:36 +0000 (17:23 +0900)
committerDaigo Moriwaki <beatles@users.sourceforge.jp>
Wed, 20 Mar 2013 08:23:36 +0000 (17:23 +0900)
commit24fee2243d10ec025357d52d8034cbc1dcf48338
tree407810fe4a59e19cee8ba45be2aacd25fc76a016
parent457848cef7fa6fa068cb1d28c25119ff85101a6b
[shogi-server] New pairing algorithm: ShogiServer::Pairing::LeastDiff

This pairing algorithm aims to minimize the total differences of
matching players' rates. It also includes penalyties when a match
is same as the previous one or a match is between human players.

It is based on a discussion with Yamashita-san on
http://www.sgtpepper.net/kaneko/diary/20120511.html.
changelog
shogi_server/league/floodgate.rb
shogi_server/pairing.rb
test/TC_floodgate.rb
test/TC_pairing.rb