mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-21 00:58:05 +00:00
Another pass at fixing up references
This commit is contained in:
PHPSkills
Elo
FactorGraphs
Factor.phpFactorGraph.phpFactorGraphLayer.phpFactorList.phpMessage.phpSchedule.phpVariable.phpVariableFactory.php
HashMap.phpNumerics
Player.phpRatingContainer.phpTeam.phpTeams.phpTrueSkill
Factors
Layers
IteratedTeamDifferencesInnerLayer.phpPlayerPerformancesToTeamPerformancesLayer.phpPlayerPriorValuesToSkillsLayer.phpPlayerSkillsToPerformancesLayer.phpTeamDifferencesComparisonLayer.phpTeamPerformancesToTeamPerformanceDifferencesLayer.php
TrueSkillFactorGraph.phpTwoPlayerTrueSkillCalculator.phpTwoTeamTrueSkillCalculator.php@ -12,9 +12,10 @@ class RatingContainer
|
||||
$this->_playerToRating = new HashMap();
|
||||
}
|
||||
|
||||
public function getRating($player)
|
||||
public function &getRating($player)
|
||||
{
|
||||
return $this->_playerToRating->getValue($player);
|
||||
$rating = &$this->_playerToRating->getValue($player);
|
||||
return $rating;
|
||||
}
|
||||
|
||||
public function setRating($player, $rating)
|
||||
|
Reference in New Issue
Block a user