Added more header stuff (requires and uses) along with a forgotten PartialPlay

This commit is contained in:
Jeff Moser
2010-09-18 21:19:51 -04:00
parent 071bf16569
commit f2eca28f29
13 changed files with 129 additions and 12 deletions

View File

@ -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
}
}
?>

View File

@ -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>

View File

@ -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
}
?>