Changeset 5177 for branches/ParallelEngine/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/GVR/Crossovers/GVRCrossover.cs
- Timestamp:
- 12/26/10 03:51:30 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ParallelEngine/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/GVR/Crossovers/GVRCrossover.cs
r4722 r5177 101 101 } 102 102 103 public override IOperation Apply( ) {103 public override IOperation Apply(IExecutionContext context) { 104 104 ItemArray<IVRPEncoding> parents = new ItemArray<IVRPEncoding>(ParentsParameter.ActualValue.Length); 105 105 for (int i = 0; i < ParentsParameter.ActualValue.Length; i++) { … … 116 116 ChildParameter.ActualValue = Crossover(RandomParameter.ActualValue, parents[0] as GVREncoding, parents[1] as GVREncoding); 117 117 118 return base.Apply( );118 return base.Apply(context); 119 119 } 120 120 }
Note: See TracChangeset
for help on using the changeset viewer.