Changeset 13435 for branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/Manipulators/JSMManipulator.cs
- Timestamp:
- 12/04/15 10:35:04 (8 years ago)
- File:
-
- 1 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);
Note: See TracChangeset
for help on using the changeset viewer.