Ejemplo n.º 1
0
        public ProcessChain(EpistemicModel epistemicModel)
        {
            _epistemicModel = epistemicModel;
            _epistemicModel.GenerateAllActionModelsFromInfos();
            _actionModels = _epistemicModel.GetActionModels();
            ModelConfiguration rawModel = CreateNewModel("RawModel");

            rawModel.CopyFrom(_epistemicModel.GeneratRawModelConfiguration("RawModel"));
        }
Ejemplo n.º 2
0
        public void ProccessActions()
        {
            if (_start == null || _resault == null)
            {
                return;
            }

            ModelConfiguration mc = new ModelConfiguration(_start);

            for (int i = 0; i < _actions.Count; i++)
            {
                mc = mc * _actions[i];
            }
            _resault.CopyFrom(mc);
        }