mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-27 03:27:40 +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@ -7,10 +7,11 @@ class HashMap
|
||||
private $_hashToValue = array();
|
||||
private $_hashToKey = array();
|
||||
|
||||
public function getValue($key)
|
||||
public function &getValue($key)
|
||||
{
|
||||
$hash = self::getHash($key);
|
||||
return $this->_hashToValue[$hash];
|
||||
$hashValue = &$this->_hashToValue[$hash];
|
||||
return $hashValue;
|
||||
}
|
||||
|
||||
public function setValue($key, $value)
|
||||
|
Reference in New Issue
Block a user