mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-31 13:14:02 +00:00
Another pass at fixing up references
This commit is contained in:
@ -1,16 +1,19 @@
|
||||
<?php
|
||||
namespace Moserware\Skills\FactorGraphs;
|
||||
|
||||
require_once(dirname(__FILE__) . "/VariableFactory.php");
|
||||
|
||||
class FactorGraph
|
||||
{
|
||||
private $_variableFactory;
|
||||
|
||||
public function &getVariableFactory()
|
||||
{
|
||||
return $this->_variableFactory;
|
||||
$factory = &$this->_variableFactory;
|
||||
return $factory;
|
||||
}
|
||||
|
||||
public function setVariableFactory(&$factory)
|
||||
public function setVariableFactory(VariableFactory &$factory)
|
||||
{
|
||||
$this->_variableFactory = &$factory;
|
||||
}
|
||||
|
Reference in New Issue
Block a user