mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-21 09:08:04 +00:00
Added more header stuff (requires and uses) along with a forgotten PartialPlay
This commit is contained in:
@ -1,7 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Moserware\Skills\TrueSkill\Layers;
|
||||
|
||||
require_once(dirname(__FILE__) . "../../FactorGraphs/Schedule.php");
|
||||
require_once(dirname(__FILE__) . "../../Numerics/BasicMath.php");
|
||||
require_once(dirname(__FILE__) . "../TrueSkillFactorGraph.php");
|
||||
require_once(dirname(__FILE__) . "../Factors/GaussianPriorFactor.php");
|
||||
require_once(dirname(__FILE__) . "TrueSkillFactorGraphLayer.php");
|
||||
|
||||
use Moserware\Skills\FactorGraphs\ScheduleLoop;
|
||||
use Moserware\Skills\FactorGraphs\ScheduleSequence;
|
||||
use Moserware\Skills\FactorGraphs\ScheduleStep;
|
||||
use Moserware\Skills\TrueSkill\TrueSkillFactorGraph;
|
||||
use Moserware\Skills\TrueSkill\Factors\GaussianPriorFactor;
|
||||
|
||||
// We intentionally have no Posterior schedule since the only purpose here is to
|
||||
class PlayerPriorValuesToSkillsLayer extends TrueSkillFactorGraphLayer
|
||||
{
|
||||
@ -26,7 +37,8 @@ class PlayerPriorValuesToSkillsLayer extends TrueSkillFactorGraphLayer
|
||||
$currentTeamSkills[] = $playerSkill;
|
||||
}
|
||||
|
||||
OutputVariablesGroups.Add(currentTeamSkills);
|
||||
$outputVariablesGroups = $this->getOutputVariablesGroups();
|
||||
$outputVariablesGroups[] = $currentTeamSkills;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user