diff --git a/src/main/java/net/foulest/swiss/match/Match.java b/src/main/java/net/foulest/swiss/match/Match.java index b0ba7c4..740f3ee 100644 --- a/src/main/java/net/foulest/swiss/match/Match.java +++ b/src/main/java/net/foulest/swiss/match/Match.java @@ -74,20 +74,20 @@ public Team simulate(boolean mostLikelyOnly) { * Calculates the win probability of a team against another team. *

* If the match is the best of one: - * - 30% of the win probability is based on the team's world ranking. - * - 70% of the win probability is based on the team's average player rating. + * - 35% of the win probability is based on the team's world ranking. + * - 65% of the win probability is based on the team's average player rating. *

* If the match is the best of three: - * - 70% of the win probability is based on the team's world ranking. - * - 30% of the win probability is based on the team's average player rating. + * - 65% of the win probability is based on the team's world ranking. + * - 35% of the win probability is based on the team's average player rating. * * @param t1 The first team. * @param t2 The second team. * @return The win probability of the first team. */ public static double calculateWinProbability(@NotNull Team t1, @NotNull Team t2, boolean bestOfThree) { - double worldRankingWeight = bestOfThree ? 0.70 / 100.0 : 0.30 / 100.0; - double playerRatingWeight = bestOfThree ? 0.30 : 0.70; + double worldRankingWeight = bestOfThree ? 0.65 / 100.0 : 0.35 / 100.0; + double playerRatingWeight = bestOfThree ? 0.35 : 0.65; double scale = 5.0; // Compute scores