Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include PLAYER
The type containing the data need for the Glicko2 algorithm. You can create this structure yourself, but we recommend you use the "default_player" function defined in this module.
type player_result = (player, player_error) result
The input type to the Glicko2 rating functions. The two players, and the outcome of the game.
val default_player :
?rating:int ->
?rating_deviation:int ->
unit ->
player_result
The recommended way of creating a new player. It will have a rating of 1500 (unless overwritten), a rating deviation of 350 (unless overwritten), and a volatility of 0.06.
val rate : game_result -> new_ratings rate_result
val update_player_after_not_player_in_rating_period : player -> player_result