public LinEquationsSetBuilder( MEAPContext meapContext, TapeSegContext tapeSegContext, LinEquationContext linEquationContext) : base(meapContext, tapeSegContext, linEquationContext) { }
protected TapeSegContextBase( MEAPContext meapContext, TapeSegContext tapeSegContext) { this.meapContext = meapContext; this.tapeSegContext = tapeSegContext; }
public CommoditiesSelector( MEAPContext meapContext, TapeSegContext tapeSegContext) { this.meapContext = meapContext; this.tapeSegContext = tapeSegContext; }
protected LinEqsSetBuilder( MEAPContext meapContext, TapeSegContext tapeSegContext, LinEquationContext linEquationContext) : base(meapContext, tapeSegContext, linEquationContext) { }
public CommTConsistPathFinder( MEAPContext meapContext, TapeSegContext tapeSegContext, LinEquationContext linEquationContext) : base(meapContext, tapeSegContext, linEquationContext) { }
public LPTConsistPathFinder( MEAPContext meapContext, TapeSegContext tapeSegContext, LinEquationContext linEquationContext) : base(meapContext, tapeSegContext, linEquationContext) { this.configuration = Core.AppContext.GetConfiguration(); }
public ComputeKStepDUPairs( MEAPContext meapContext, Tuple <long, long, long> kSteps) { this.meapContext = meapContext; this.kSteps = kSteps; this.nodeVLevels = meapContext.MEAPSharedContext.NodeLevelInfo.NodeVLevels; }
public LinEquationsContextBase( MEAPContext meapContext, TapeSegContext tapeSegContext, LinEquationContext linEquationContext) : base(meapContext, tapeSegContext) { this.linEquationContext = linEquationContext; }
protected CommoditiesBuilder(MEAPContext meapContext) { this.configuration = Core.AppContext.GetConfiguration(); this.meapContext = meapContext; this.sNodeId = meapContext.TArbSeqCFG.GetSourceNodeId(); this.tNodeId = meapContext.TArbSeqCFG.GetSinkNodeId(); }
public void CheckCommoditiesHaveNoSingleNodes(MEAPContext meapContext) { log.Info("CheckCommoditiesHaveNoSingleNodes"); foreach (Commodity commodity in meapContext.Commodities.Values) { Ensure.That(IsGraphHasSingleNode(commodity.Gi)).IsFalse(); } }
public MEAPCurrentStepFactCPLTM(MEAPContext meapContext) : base(meapContext) { this.configuration = Core.AppContext.GetConfiguration(); this.tasgBuilder = meapContext.MEAPSharedContext.TASGBuilder; this.meapContext.TASGBuilder = tasgBuilder; this.tasgBuilder.meapContext = meapContext; this.CPLTMInfo = meapContext.MEAPSharedContext.CPLTMInfo; }
public LinEqsSetBuilder GetLinEquationsSetBuilder( MEAPContext meapContext, TapeSegContext tapeSegContext, LinEquationContext linEquationContext) { return(new LinEquationsSetBuilder( meapContext, tapeSegContext, linEquationContext)); }
public NodesCoverageKeeper( MEAPContext meapContext, TapeSegContext tapeSegContext, SortedDictionary <long, Commodity> commoditiesSubset, SortedSet <long> totalExcludedComms) { this.meapContext = meapContext; this.tapeSegContext = tapeSegContext; this.commoditiesSubset = commoditiesSubset; this.totalExcludedComms = totalExcludedComms; }
public NotUsedCommsDetector( MEAPContext meapContext, TapeSegContext tapeSegContext, SortedDictionary <long, Commodity> commoditiesSubset, NodesCoverageKeeper nodesCoverageKeeper) { this.meapContext = meapContext; this.tapeSegContext = tapeSegContext; this.commoditiesSubset = commoditiesSubset; this.nodesCoverageKeeper = nodesCoverageKeeper; }
public override void Run() { meapContext = new MEAPContext { mu = currentMu }; meapContext.TapeSegContext = new TapeSegContext(); meapContext.MEAPSharedContext = MEAPSharedContext; log.DebugFormat("CurrentMu = {0}", currentMu); IMeapCurrentStep currentStep = configuration.Get <IMeapCurrentStep>( new Ninject.Parameters.ConstructorArgument(nameof(meapContext), meapContext)); currentStep.Run(meapContext.MEAPSharedContext.MNP.F); bool gammaF = meapContext.PathExists; if (gammaF) { if (!meapContext.PathFound) { currentStep.RetrievePath(); } Result = meapContext.PathExists; Output = meapContext.Output; Done = true; } if ((!Done) && (!meapContext.MEAPSharedContext.MNP.AcceptingPathAlwaysExists)) { currentStep.Run(meapContext.MEAPSharedContext.MNP.QAny); bool gammaAny = meapContext.PathExists; if (!gammaAny) { Result = false; Output = Array.Empty <int>(); Done = true; } } if (Done) { lock (meapContext.MEAPSharedContext) { meapContext.MEAPSharedContext.DeterminePathRunnerDoneMu = currentMu; meapContext.MEAPSharedContext.CancellationTokenSource.Cancel(); } } }
protected CommodityChecker( MEAPContext meapContext, TapeSegContext tapeSegContext, Commodity commodity, SortedSet <long> tConsistPathComms, SortedSet <long> tInconsistPathComms) : base(meapContext, tapeSegContext) { this.commodity = commodity; this.tConsistPathComms = tConsistPathComms; this.tInconsistPathComms = tInconsistPathComms; }
public TapeSegRunner( long id, MEAPContext meapContext, TapeSegContext tapeSegContext, List <TapeSegRunnerState> allowedStates ) : base(meapContext, tapeSegContext) { this.configuration = Core.AppContext.GetConfiguration(); this.Id = id; this.tapeSegRunnerStateTable = new TapeSegRunnerStateTable(allowedStates); }
public CommodityChecker GetTCPEPCommChecker( MEAPContext meapContext, TapeSegContext tapeSegContext, Commodity commodity, SortedSet <long> tConsistPathComms, SortedSet <long> tInconsistPathComms) { return(new CommodityCheckerSparseMThreads( meapContext, tapeSegContext, commodity, tConsistPathComms, tInconsistPathComms)); }
public CommodityCheckerSparse( MEAPContext meapContext, TapeSegContext tapeSegContext, Commodity commodity, SortedSet <long> tConsistPathComms, SortedSet <long> tInconsistPathComms) : base( meapContext, tapeSegContext, commodity, tConsistPathComms, tInconsistPathComms) { this.configuration = Core.AppContext.GetConfiguration(); }
public CommoditiesBuilderFactCPLTM(MEAPContext meapContext) : base(meapContext) { }
public DetermineIfExistsTCPath(MEAPContext meapContext) { this.configuration = Core.AppContext.GetConfiguration(); this.meapContext = meapContext; }
public CommoditiesBuilderSlotsMThreads(MEAPContext meapContext) : base(meapContext) { }
public TConsistPairSetBuilderOrd(MEAPContext meapContext) { this.configuration = Core.AppContext.GetConfiguration(); this.meapContext = meapContext; }
protected TCPEPSolver(MEAPContext meapContext, TapeSegContext tapeSegContext) : base(meapContext, tapeSegContext) { }
protected MEAPCurrentStep(MEAPContext meapContext) { this.meapContext = meapContext; }
public PathFinderFactCPLTM(MEAPContext meapContext) { this.meapContext = meapContext; }
public MEAPCurrentStepSlotsMultiThreads(MEAPContext meapContext) : base(meapContext) { this.configuration = Core.AppContext.GetConfiguration(); }
public MEAPCurrentStepFactComm(MEAPContext meapContext) : base(meapContext) { this.configuration = Core.AppContext.GetConfiguration(); }
public GraphTConZetaBuilder(MEAPContext meapContext) { this.meapContext = meapContext; }
public virtual void CheckNCGNodesHaveTheSameSymbol(MEAPContext meapContext) { }