mirror of
https://github.com/furyfire/trueskill.git
synced 2025-05-12 06:07:50 +00:00
Tiny type work
This commit is contained in:
@ -4,10 +4,15 @@ declare(strict_types=1);
|
||||
|
||||
namespace DNW\Skills\FactorGraphs;
|
||||
|
||||
class FactorGraph
|
||||
abstract class FactorGraph
|
||||
{
|
||||
private VariableFactory $variableFactory;
|
||||
|
||||
protected function __construct()
|
||||
{
|
||||
$this->variableFactory = new VariableFactory(fn () => NULL);
|
||||
}
|
||||
|
||||
public function getVariableFactory(): VariableFactory
|
||||
{
|
||||
return $this->variableFactory;
|
||||
|
Reference in New Issue
Block a user