- Timestamp:
- 01/07/14 15:05:58 (11 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/GVR
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/GVR/Crossovers/GVRCrossover.cs
r9456 r10298 103 103 } 104 104 105 public override IOperation Apply() {105 public override IOperation InstrumentedApply() { 106 106 ItemArray<IVRPEncoding> parents = new ItemArray<IVRPEncoding>(ParentsParameter.ActualValue.Length); 107 107 for (int i = 0; i < ParentsParameter.ActualValue.Length; i++) { … … 117 117 ChildParameter.ActualValue = Crossover(RandomParameter.ActualValue, parents[0] as GVREncoding, parents[1] as GVREncoding); 118 118 119 return base. Apply();119 return base.InstrumentedApply(); 120 120 } 121 121 } -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/GVR/Manipulators/GVRManipulator.cs
r9456 r10298 49 49 protected abstract void Manipulate(IRandom random, GVREncoding individual); 50 50 51 public override IOperation Apply() {51 public override IOperation InstrumentedApply() { 52 52 IVRPEncoding solution = VRPToursParameter.ActualValue; 53 53 if (!(solution is GVREncoding)) { … … 57 57 Manipulate(RandomParameter.ActualValue, VRPToursParameter.ActualValue as GVREncoding); 58 58 59 return base. Apply();59 return base.InstrumentedApply(); 60 60 } 61 61 }
Note: See TracChangeset
for help on using the changeset viewer.