blankalmasry/glicko2-team
Composer 安装命令:
composer require blankalmasry/glicko2-team
包简介
A PHP glicko2 Composite Opponent implementation
关键字:
README 文档
README
#Glicko2-Team
A PHP glicko2 Composite Opponent implementation
The repository is build on https://github.com/diegobanos/php-glicko2
How to use
use Diegobanos\Glicko2\Rating\Rating; use Diegobanos\Glicko2\Glicko2; $team = [ new Rating(1500,350), new Rating(1500,350), new Rating(1500,350), ] $team1 = [ new Rating(1500,350), new Rating(1500,350), new Rating(1500,350), ] // $team won $Ratings = Glicko2::match($team, $team1, 1, 0) //You can add only 1 player to each team, and it will act the same as original glicko2
You can also create your own Rating class that implements Diegobanos\Glicko2\Rating\Rating\RatingInterface.
The algorithm implemented on this project is described in the following PDF.
It uses Composite team Update method from PDF.
统计信息
- 总下载量: 77
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-08-17