public LGSPSequenceGenerator(IGraphModel model, ActionsTypeInformation actionsTypeInformation, bool fireDebugEvents, bool emitProfiling) { this.model = model; this.actionNames = new ActionNames(actionsTypeInformation); this.env = new SequenceCheckingEnvironmentCompiled(actionNames, actionsTypeInformation, model); this.seqHelper = new SequenceGeneratorHelper(model, actionsTypeInformation, env); SequenceExpressionGenerator exprGen = new SequenceExpressionGenerator(model, env, seqHelper); this.seqHelper.SetSequenceExpressionGenerator(exprGen); SequenceComputationGenerator compGen = new SequenceComputationGenerator(model, env, exprGen, seqHelper, fireDebugEvents); this.seqGen = new SequenceGenerator(model, env, compGen, exprGen, seqHelper, fireDebugEvents, emitProfiling); this.neededEntitiesEmitter = new NeededEntitiesEmitter(seqHelper); this.fireDebugEvents = fireDebugEvents; this.emitProfiling = emitProfiling; }
public SequenceGeneratorHelper(IGraphModel model, ActionsTypeInformation actionsTypeInformation, SequenceCheckingEnvironmentCompiled checkEnv) { this.model = model; this.actionsTypeInformation = actionsTypeInformation; this.env = checkEnv; }