public void RunHybridAlg(string fileDir) { FileReader.ReadFile(fileDir); var jobs = new List <Job>(); jobs = FileReader.Jobs; GA.RunGeneticAlgorithm(jobs); List <List <Job> > opGen = GA.OptimizedGeneration; IWocProcessor WOC = new WocProcessor(jobs); WOC.PopulatePreferabilityMatrix(opGen); OpSched = WOC.ReadPreferabilityMatrix(); List <CompletionNode> opSchedCompletionList = GA.CalculateCompletionList(OpSched); OpSchedTotalDelay = GA.CalculateTotalDelay(opSchedCompletionList); }
public HybridAlgProcessor() { GA = new GenAlgProcessor(10, 10); FileReader = new JobFileReader(); Woc = new WocProcessor(); }