mirror of
https://github.com/furyfire/trueskill.git
synced 2025-06-27 23:21:32 +00:00
Pint applied for formatting
This commit is contained in:
@ -1,15 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace DNW\Skills\FactorGraphs;
|
||||
|
||||
class Variable
|
||||
{
|
||||
private $_name;
|
||||
|
||||
private $_prior;
|
||||
|
||||
private $_value;
|
||||
|
||||
public function __construct($name, $prior)
|
||||
{
|
||||
$this->_name = "Variable[" . $name . "]";
|
||||
$this->_name = 'Variable['.$name.']';
|
||||
$this->_prior = $prior;
|
||||
$this->resetToPrior();
|
||||
}
|
||||
@ -33,4 +36,4 @@ class Variable
|
||||
{
|
||||
return $this->_name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user