Class WeightedTeamRatingAggregator
java.lang.Object
com.pocketcombats.openskill.aggregate.WeightedTeamRatingAggregator
- All Implemented Interfaces:
TeamRatingAggregator
Uses weighted average for mu calculation and harmonic mean for sigma.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeTeamRating(Collection<? extends MatchMakingRating> playerRatings) Computes the aggregated mu and sigma for the entire team based on individual player ratings.
-
Constructor Details
-
WeightedTeamRatingAggregator
public WeightedTeamRatingAggregator()
-
-
Method Details
-
computeTeamRating
Description copied from interface:TeamRatingAggregatorComputes the aggregated mu and sigma for the entire team based on individual player ratings.- Specified by:
computeTeamRatingin interfaceTeamRatingAggregator- Parameters:
playerRatings- a list ofMatchMakingRatingrepresenting the players on the team- Returns:
- the computed team rating
-