protected TapeSegContextBase( MEAPContext meapContext, TapeSegContext tapeSegContext) { this.meapContext = meapContext; this.tapeSegContext = tapeSegContext; }
public void RetrievePath() { log.Info("Start retrieve path"); while (true) { TapeSegContext currentTapeSegContext = meapContext.TapeSegContext; foreach (long forwardNodeId in currentTapeSegContext.TConsistPathNodes) { TapeSegContext forwardTapeSegContext = new(currentTapeSegContext); forwardTapeSegContext.PartialTConsistPath.Add(forwardNodeId); meapContext.TapeSegContext = forwardTapeSegContext; DetermineIfExistsTCPath determineIfExistsTCSeq = new(meapContext); determineIfExistsTCSeq.RunToRetrievePath(); if (meapContext.TapeSegContext.TapeSegPathFound) { CopyResultFromTapeSegContext(); return; } if (meapContext.TapeSegContext.TapeSegPathExists) { break; } } } }
public CommoditiesSelector( MEAPContext meapContext, TapeSegContext tapeSegContext) { this.meapContext = meapContext; this.tapeSegContext = tapeSegContext; }
public LinEquationsSetBuilder( MEAPContext meapContext, TapeSegContext tapeSegContext, LinEquationContext linEquationContext) : base(meapContext, tapeSegContext, linEquationContext) { }
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 LinEquationsContextBase( MEAPContext meapContext, TapeSegContext tapeSegContext, LinEquationContext linEquationContext) : base(meapContext, tapeSegContext) { this.linEquationContext = linEquationContext; }
public LinEqsSetBuilder GetLinEquationsSetBuilder( MEAPContext meapContext, TapeSegContext tapeSegContext, LinEquationContext linEquationContext) { return(new LinEquationsSetBuilder( meapContext, tapeSegContext, linEquationContext)); }
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 NodesCoverageKeeper( MEAPContext meapContext, TapeSegContext tapeSegContext, SortedDictionary <long, Commodity> commoditiesSubset, SortedSet <long> totalExcludedComms) { this.meapContext = meapContext; this.tapeSegContext = tapeSegContext; this.commoditiesSubset = commoditiesSubset; this.totalExcludedComms = totalExcludedComms; }
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(); }
protected TCPEPSolver(MEAPContext meapContext, TapeSegContext tapeSegContext) : base(meapContext, tapeSegContext) { }
public CheckKZetaGraphs(MEAPContext meapContext, TapeSegContext tapeSegContext) : base(meapContext, tapeSegContext) { }
public StrongConnCommsBuilder(MEAPContext meapContext, TapeSegContext tapeSegContext) : base(meapContext, tapeSegContext) { }
public TCPEPSolver GetTCPEPSolver( MEAPContext meapContext, TapeSegContext tapeSegContext) { return(new TCPEPLPSolver(meapContext, tapeSegContext)); }
public TapeSegContext(TapeSegContext tapeSegContext) { this.TapeSeg = new LongSegment(tapeSegContext.TapeSeg); this.PartialTConsistPath = new List <long>(tapeSegContext.PartialTConsistPath); this.TConsistPathNodes = new List <long>(tapeSegContext.TConsistPathNodes); }
public TCPEPLPSolver(MEAPContext meapContext, TapeSegContext tapeSegContext) : base(meapContext, tapeSegContext) { this.configuration = Core.AppContext.GetConfiguration(); }