public function __construct(TrueSkillFactorGraph $parentGraph, array $teamRanks) { parent::__construct($parentGraph); $this->_teamRanks = $teamRanks; $gameInfo = $this->getParentFactorGraph()->getGameInfo(); $this->_epsilon = DrawMargin::getDrawMarginFromDrawProbability($gameInfo->getDrawProbability(), $gameInfo->getBeta()); }
public function __construct(TrueSkillFactorGraph $parentGraph) { parent::__construct($parentGraph); }
public function __construct(TrueSkillFactorGraph $parentGraph, array $teams) { parent::__construct($parentGraph); $this->_teams = $teams; }
public function __construct(TrueSkillFactorGraph &$parentGraph, TeamPerformancesToTeamPerformanceDifferencesLayer &$teamPerformancesToPerformanceDifferences, TeamDifferencesComparisonLayer &$teamDifferencesComparisonLayer) { parent::__construct($parentGraph); $this->_TeamPerformancesToTeamPerformanceDifferencesLayer = $teamPerformancesToPerformanceDifferences; $this->_TeamDifferencesComparisonLayer = $teamDifferencesComparisonLayer; }