Class RatingSystems
java.lang.Object
org.episteme.social.sports.RatingSystems
Implementation of various sports rating systems, including Elo and Glicko-2.
Provides skill estimation and ranking adjustment algorithms.
Modernized to use Real for all calculations to maintain maximum precision.
- Since:
- 1.0
- Version:
- 1.2
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classData model for a Glicko-2 rating profile. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RealDefault K-factor for standard Elo rating updates. -
Method Summary
Modifier and TypeMethodDescriptionstatic RealeloExpectedScore(Real ratingA, Real ratingB) Calculates the expected outcome for player A vs player B using the Elo formula.static RealeloNewRating(Real currentRating, Real opponentRating, Real actualScore, Real kFactor) Updates an Elo rating after a match result.static RatingSystems.Glicko2Ratingglicko2Update(RatingSystems.Glicko2Rating player, RatingSystems.Glicko2Rating opponent, Real actualScore) Updates a Glicko-2 rating for a single match observation.
-
Field Details
-
DEFAULT_K_FACTOR
Default K-factor for standard Elo rating updates.
-
-
Method Details
-
eloExpectedScore
-
eloNewRating
-
glicko2Update
public static RatingSystems.Glicko2Rating glicko2Update(RatingSystems.Glicko2Rating player, RatingSystems.Glicko2Rating opponent, Real actualScore) Updates a Glicko-2 rating for a single match observation.
-