Changeset 13435 for branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/Manipulators
- Timestamp:
- 12/04/15 10:35:04 (9 years ago)
- Location:
- branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/Manipulators
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/Manipulators/JSMManipulator.cs
r12012 r13435 34 34 public JSMManipulator() 35 35 : base() { 36 Schedule EncodingParameter.ActualName = "JobSequenceMatrix";36 ScheduleParameter.ActualName = "JobSequenceMatrix"; 37 37 } 38 38 39 protected abstract void Manipulate(IRandom random, ISchedule Encodingindividual);39 protected abstract void Manipulate(IRandom random, ISchedule individual); 40 40 41 41 public override IOperation InstrumentedApply() { 42 var solution = Schedule EncodingParameter.ActualValue as JSMEncoding;42 var solution = ScheduleParameter.ActualValue as JSMEncoding; 43 43 if (solution == null) throw new InvalidOperationException("ScheduleEncoding was not found or is not of type JSMEncoding."); 44 44 Manipulate(RandomParameter.ActualValue, solution); -
branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/Manipulators/JSMShiftChangeManipulator.cs
r12012 r13435 63 63 } 64 64 65 protected override void Manipulate(IRandom random, ISchedule Encodingencoding) {65 protected override void Manipulate(IRandom random, ISchedule encoding) { 66 66 var solution = encoding as JSMEncoding; 67 67 if (solution == null) throw new InvalidOperationException("Encoding is not of type JSMEncoding"); -
branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/Manipulators/JSMSwapManipulator.cs
r12012 r13435 50 50 } 51 51 52 protected override void Manipulate(IRandom random, ISchedule Encodingindividual) {52 protected override void Manipulate(IRandom random, ISchedule individual) { 53 53 var solution = individual as JSMEncoding; 54 54 if (solution == null) throw new InvalidOperationException("Encoding is not of type JSMEncoding");
Note: See TracChangeset
for help on using the changeset viewer.