@@ -77,7 +77,7 @@ use skillratings::{
7777};
7878
7979// Initialise a new player rating.
80- // The default values are: 1500.0 , 350.0 , and 0.06.
80+ // The default values are: 1500, 350, and 0.06.
8181let player_one = Glicko2Rating :: new ();
8282
8383// Or you can initialise it with your own values of course.
@@ -114,6 +114,7 @@ use skillratings::{
114114};
115115
116116// We initialise Team One as a Vec of multiple TrueSkillRatings.
117+ // The default values for the rating are: 25, 25/3 ≈ 8.33.
117118let team_one = vec! [
118119 TrueSkillRating {
119120 rating : 33.3 ,
@@ -163,6 +164,7 @@ use skillratings::{
163164
164165// Initialise the teams as Vecs of WengLinRatings.
165166// Note that teams do not necessarily have to be the same size.
167+ // The default values for the rating are: 25, 25/3 ≈ 8.33.
166168let team_one = vec! [
167169 WengLinRating {
168170 rating : 25.1 ,
@@ -224,7 +226,7 @@ This example is using *Glicko* (*not Glicko-2!*) to demonstrate.
224226use skillratings :: glicko :: {expected_score, GlickoRating };
225227
226228// Initialise a new player rating.
227- // The default values are: 1500.0 , and 350.0 .
229+ // The default values are: 1500, and 350.
228230let player_one = GlickoRating :: new ();
229231
230232// Initialising a new rating with custom numbers.
@@ -257,6 +259,7 @@ use skillratings::{
257259};
258260
259261// We initialise a new Elo Rating here.
262+ // The default rating value is 1000.
260263let player = EloRating { rating : 1402.1 };
261264
262265// We need a list of results to pass to the elo_rating_period function.
0 commit comments