Changeset 5177 for branches/ParallelEngine/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Manipulators/AlbaManipulator.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/Alba/Manipulators/AlbaManipulator.cs
r4722 r5177 44 44 } 45 45 46 protected abstract void Manipulate(I Random random, AlbaEncoding individual);46 protected abstract void Manipulate(IExecutionContext context, IRandom random, AlbaEncoding individual); 47 47 48 48 protected int FindCustomerLocation(int customer, AlbaEncoding individual) { … … 58 58 } 59 59 60 public override IOperation Apply( ) {60 public override IOperation Apply(IExecutionContext context) { 61 61 IVRPEncoding solution = VRPToursParameter.ActualValue; 62 62 if (!(solution is AlbaEncoding)) { … … 64 64 } 65 65 66 Manipulate( RandomParameter.ActualValue, VRPToursParameter.ActualValue as AlbaEncoding);66 Manipulate(context, RandomParameter.ActualValue, VRPToursParameter.ActualValue as AlbaEncoding); 67 67 68 return base.Apply( );68 return base.Apply(context); 69 69 } 70 70 }
Note: See TracChangeset
for help on using the changeset viewer.