mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-16 11:04:27 +00:00
25 lines
424 B
PHP
25 lines
424 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace DNW\Skills\FactorGraphs;
|
|
|
|
use DNW\Skills\Numerics\GaussianDistribution;
|
|
|
|
final class Message
|
|
{
|
|
public function __construct(private GaussianDistribution $value)
|
|
{
|
|
}
|
|
|
|
public function getValue(): GaussianDistribution
|
|
{
|
|
return $this->value;
|
|
}
|
|
|
|
public function setValue(GaussianDistribution $value): void
|
|
{
|
|
$this->value = $value;
|
|
}
|
|
}
|