mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-18 20:04:28 +00:00
Moved UnitTests to tests/ and Skills to src/
This commit is contained in:
21
src/FactorGraphs/FactorGraph.php
Normal file
21
src/FactorGraphs/FactorGraph.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
namespace Moserware\Skills\FactorGraphs;
|
||||
|
||||
require_once(dirname(__FILE__) . "/VariableFactory.php");
|
||||
|
||||
class FactorGraph
|
||||
{
|
||||
private $_variableFactory;
|
||||
|
||||
public function &getVariableFactory()
|
||||
{
|
||||
$factory = &$this->_variableFactory;
|
||||
return $factory;
|
||||
}
|
||||
|
||||
public function setVariableFactory(VariableFactory &$factory)
|
||||
{
|
||||
$this->_variableFactory = &$factory;
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user