mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-19 08:18:38 +00:00
rector: codingStyle
This commit is contained in:
benchmark
examples
rector.phpsrc
FactorGraphs
Numerics
SkillCalculator.phpTrueSkill
FactorGraphTrueSkillCalculator.php
Factors
Layers
IteratedTeamDifferencesInnerLayer.phpPlayerPerformancesToTeamPerformancesLayer.phpPlayerPriorValuesToSkillsLayer.phpPlayerSkillsToPerformancesLayer.phpTeamDifferencesComparisonLayer.phpTeamPerformancesToTeamPerformanceDifferencesLayer.php
TrueSkillFactorGraph.phpTwoTeamTrueSkillCalculator.phptests/Numerics
@ -19,8 +19,8 @@ $team1 = new Team($p1, $gameInfo->getDefaultRating());
|
||||
$team2 = new Team($p2, $gameInfo->getDefaultRating());
|
||||
|
||||
|
||||
for($i = 0; $i < 5; $i++) {
|
||||
echo "Iteration: $i\n";
|
||||
for($i = 0; $i < 5; ++$i) {
|
||||
echo "Iteration: " . $i . PHP_EOL;
|
||||
$teams = Teams::concat($team1, $team2);
|
||||
|
||||
$calculator = new TwoPlayerTrueSkillCalculator();
|
||||
|
Reference in New Issue
Block a user