Reintroduced supprressed warnings

This commit is contained in:
2023-08-02 14:24:19 +00:00
parent 4ddde1e277
commit 50bd2b152a
7 changed files with 24 additions and 11 deletions

View File

@ -27,6 +27,11 @@ class TrueSkillFactorGraph extends FactorGraph
private PlayerPriorValuesToSkillsLayer $priorLayer;
/**
* @param GameInfo $gameInfo Parameters for the game.
* @param Team[] $teamsOfPlayerToRatings A mapping of team players and their ratings.
* @param int[] $teamRanks The ranks of the teams where 1 is first place. For a tie, repeat the number (e.g. 1, 2, 2).
*/
public function __construct(private readonly GameInfo $gameInfo, array $teams, array $teamRanks)
{
$this->priorLayer = new PlayerPriorValuesToSkillsLayer($this, $teams);