mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-15 02:24:28 +00:00
20 lines
311 B
PHP
20 lines
311 B
PHP
<?php
|
|
|
|
namespace DNW\Skills\FactorGraphs;
|
|
|
|
class KeyedVariable extends Variable
|
|
{
|
|
private $_key;
|
|
|
|
public function __construct($key, $name, $prior)
|
|
{
|
|
parent::__construct($name, $prior);
|
|
$this->_key = $key;
|
|
}
|
|
|
|
public function getKey()
|
|
{
|
|
return $this->_key;
|
|
}
|
|
}
|