_parentFactorGraph = &$parentGraph; } protected function &getInputVariablesGroups() { $inputVariablesGroups = &$this->_inputVariablesGroups; return $inputVariablesGroups; } // HACK public function &getParentFactorGraph() { $parentFactorGraph = &$this->_parentFactorGraph; return $parentFactorGraph; } public function &getOutputVariablesGroups() { $outputVariablesGroups = &$this->_outputVariablesGroups; return $outputVariablesGroups; } public function &getLocalFactors() { $localFactors = &$this->_localFactors; return $localFactors; } public function setInputVariablesGroups(&$value) { $this->_inputVariablesGroups = $value; } protected function scheduleSequence(array $itemsToSequence, $name) { return new ScheduleSequence($name, $itemsToSequence); } protected function addLayerFactor(Factor &$factor) { $this->_localFactors[] = $factor; } public abstract function buildLayer(); public function createPriorSchedule() { return null; } public function createPosteriorSchedule() { return null; } } ?>