More type work

This commit is contained in:
2023-08-03 09:13:19 +00:00
parent 50bd2b152a
commit 75829ddd60
6 changed files with 24 additions and 5 deletions

View File

@ -7,6 +7,7 @@ use DNW\Skills\FactorGraphs\Variable;
use DNW\Skills\FactorGraphs\KeyedVariable;
use DNW\Skills\Numerics\BasicMath;
use DNW\Skills\Rating;
use DNW\Skills\Team;
use DNW\Skills\TrueSkill\Factors\GaussianPriorFactor;
use DNW\Skills\TrueSkill\TrueSkillFactorGraph;
use DNW\Skills\FactorGraphs\ScheduleSequence;
@ -15,6 +16,9 @@ use DNW\Skills\FactorGraphs\ScheduleSequence;
// start the process.
class PlayerPriorValuesToSkillsLayer extends TrueSkillFactorGraphLayer
{
/**
* @param Team[] $teams
*/
public function __construct(TrueSkillFactorGraph $parentGraph, private readonly array $teams)
{
parent::__construct($parentGraph);