mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-29 04:13:22 +00:00
Added more header stuff (requires and uses) along with a forgotten PartialPlay
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
namespace Moserware\Skills\FactorGraphs;
|
||||
|
||||
require_once(dirname(__FILE__) . "Schedule.php");
|
||||
|
||||
abstract class FactorGraphLayer
|
||||
{
|
||||
private $_localFactors = array();
|
||||
@ -63,5 +65,4 @@ abstract class FactorGraphLayer
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
namespace Moserware\Skills\FactorGraphs;
|
||||
|
||||
require_once(dirname(__FILE__) . "Factor.php");
|
||||
|
||||
/// <summary>
|
||||
/// Helper class for computing the factor graph's normalization constant.
|
||||
/// </summary>
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
namespace Moserware\Skills\FactorGraphs;
|
||||
|
||||
require_once(dirname(__FILE__) . "Variable.php");
|
||||
|
||||
class VariableFactory
|
||||
{
|
||||
// using a Func<TValue> to encourage fresh copies in case it's overwritten
|
||||
@ -23,6 +25,6 @@ class VariableFactory
|
||||
$newVar = new KeyedVariable($key, $this->_variablePriorInitializer());
|
||||
return $newVar;
|
||||
}
|
||||
}s
|
||||
}
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user