Base rating
Base rating deviation
The system constant, which constrains the change in volatility over time
Base volatility The volatility measure indicates the degree of expected fluctuation in a player’s rating
The algorithm to calculate the volatility
Internal default rating in glicko format for new players
Internal default rating deviation for new players
Internal default volatility for new players
Internal default tau value for new players
The internal default volatility algorithm used by the Glicko2 object when making new players
An object of all the players cached with their key as their id
The number of players in the record
Creates players and match result to be taken in account for the new rankings calculation players must have ids, they are not created if it has been done already.
The first player
The second player
The outcome for the first player: 0 = defeat, 1 = victory, 0.5 = draw
An object of the new player objects
Updates the ratings for all the players
Removes all of the previous matches from each of the players objects
Gets an array of matches between 2 teams and their composite player object
Creates a new Player and adds it to the cache We do not expose Glicko2._createInternalPlayer directly in order to prevent the assignation of a custom player id whose uniqueness could not be guaranteed
A Player object of the new player
Removes all the players from the cache
Gets all the matches from the race(if is an instance of one), calculates player ratings
The main class of the rating system