Glicko.draw_probability
You're seeing just the function
draw_probability
, go back to Glicko module for more information.
Link to this function
draw_probability(player, opponent)
Specs
draw_probability(player :: Glicko.Player.t(), opponent :: Glicko.Player.t()) :: float()
Calculates the probability of a player drawing against an opponent.
Returns a value between 0.0
and 1.0
.
Link to this function
draw_probability(player_rating, opponent_rating, opponent_rating_deviation)
Specs
draw_probability( player_rating :: Glicko.Player.rating(), opponent_rating :: Glicko.Player.rating(), opponent_rating_deviation :: Glicko.Player.rating_deviation() ) :: float()
Calculates the probability of a player drawing against an opponent from a player rating, opponent rating and opponent rating deviation.
Values provided for the player rating, opponent rating and opponent rating deviation must be v2 based.
Returns a value between 0.0
and 1.0
.