Changeset 17461 for branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition/Decoder
- Timestamp:
- 02/28/20 16:23:01 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition/Decoder/PWRDecoder.cs
r16725 r17461 27 27 [Item("PWRDecoder", "An item used to convert a PWR-individual into a generalized schedule.")] 28 28 [StorableType("60D171BE-9704-40E1-9C63-0E56D95403CD")] 29 public class PWRDecoder : ScheduleDecoder<PWR Encoding>{29 public class PWRDecoder : ScheduleDecoder<PWR>, IPWROperator { 30 30 [StorableConstructor] 31 31 protected PWRDecoder(StorableConstructorFlag _) : base(_) { } … … 37 37 } 38 38 39 public override Schedule DecodeSchedule(PWR Encodingsolution, ItemList<Job> jobData) {39 public override Schedule DecodeSchedule(PWR solution, ItemList<Job> jobData) { 40 40 return Decode(solution, jobData); 41 41 } 42 42 43 public static Schedule Decode(PWR Encodingsolution, ItemList<Job> jobData) {43 public static Schedule Decode(PWR solution, ItemList<Job> jobData) { 44 44 var jobs = (ItemList<Job>)jobData.Clone(); 45 45 var resultingSchedule = new Schedule(jobs[0].Tasks.Count);
Note: See TracChangeset
for help on using the changeset viewer.