Changeset 13437 for branches/ProblemRefactoring/HeuristicLab.Problems.Scheduling/3.3/Decoders/PRVDecoder.cs
- Timestamp:
- 12/06/15 15:33:25 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemRefactoring/HeuristicLab.Problems.Scheduling/3.3/Decoders/PRVDecoder.cs
r13435 r13437 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Encodings.ScheduleEncoding; 26 using HeuristicLab.Encodings.ScheduleEncoding.PriorityRulesVector;27 26 using HeuristicLab.Optimization; 28 27 using HeuristicLab.Parameters; … … 225 224 226 225 //STEP 2 - Compute a conflict set of all operations that can be scheduled on the machine the previously selected operation runs on 227 ItemList<Task> conflictSet = GTAlgorithmUtils.GetConflictSetForTask(minimal, earliestTasksList, jobs,resultingSchedule);226 ItemList<Task> conflictSet = GTAlgorithmUtils.GetConflictSetForTask(minimal, earliestTasksList, resultingSchedule); 228 227 229 228 //STEP 3 - Select an operation from the conflict set (various methods depending on how the algorithm should work..) 230 229 //Task selectedTask = SelectTaskFromConflictSet(conflictSet, solution.PriorityRulesVector [currentDecisionIndex++], solution.NrOfRules.Value); 231 Task selectedTask = SelectTaskFromConflictSet(conflictSet, solution.PriorityRulesVector[minimal.JobNr], solution.NrOfRules .Value, resultingSchedule, jobs);230 Task selectedTask = SelectTaskFromConflictSet(conflictSet, solution.PriorityRulesVector[minimal.JobNr], solution.NrOfRules, resultingSchedule, jobs); 232 231 233 232 //STEP 4 - Adding the selected operation to the current schedule
Note: See TracChangeset
for help on using the changeset viewer.