mirror of
https://github.com/furyfire/trueskill.git
synced 2025-09-06 02:18:23 +02:00
This commit is contained in:
@@ -36,13 +36,13 @@ class PlayerPerformancesToTeamPerformancesLayer extends TrueSkillFactorGraphLaye
|
||||
{
|
||||
$localFactors = $this->getLocalFactors();
|
||||
|
||||
//all player perf to team perf schedule
|
||||
return $this->scheduleSequence(
|
||||
array_map(
|
||||
//Perf to Team Perf Step
|
||||
static fn($weightedSumFactor): ScheduleStep => new ScheduleStep($weightedSumFactor, 0),
|
||||
$localFactors
|
||||
),
|
||||
'all player perf to team perf schedule'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -82,7 +82,8 @@ class PlayerPerformancesToTeamPerformancesLayer extends TrueSkillFactorGraphLaye
|
||||
}
|
||||
}
|
||||
|
||||
return $this->scheduleSequence($allFactors, "all of the team's sum iterations");
|
||||
//all of the team's sum iterations
|
||||
return $this->scheduleSequence($allFactors);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user