mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-18 20:04:28 +00:00
More types
This commit is contained in:
@ -4,6 +4,9 @@ namespace DNW\Skills\FactorGraphs;
|
||||
|
||||
abstract class FactorGraphLayer
|
||||
{
|
||||
/**
|
||||
* @var Factor[] $localFactors
|
||||
*/
|
||||
private array $localFactors = [];
|
||||
|
||||
private array $outputVariablesGroups = [];
|
||||
@ -34,6 +37,9 @@ abstract class FactorGraphLayer
|
||||
return $this->outputVariablesGroups;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Factor[]
|
||||
*/
|
||||
public function getLocalFactors(): array
|
||||
{
|
||||
return $this->localFactors;
|
||||
|
Reference in New Issue
Block a user