Changeset 17717 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/LocalImprovement
- Timestamp:
- 08/05/20 04:37:37 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Alba/LocalImprovement/AlbaLambdaInterchangeLocalImprovementOperator.cs
r17704 r17717 111 111 public override IOperation InstrumentedApply() { 112 112 int maxIterations = MaximumIterationsParameter.ActualValue.Value; 113 AlbaEncodedSolution solution = null;113 var solution = VRPToursParameter.ActualValue as AlbaEncodedSolution; 114 114 115 if (VRPToursParameter.ActualValue is AlbaEncodedSolution) 116 solution = VRPToursParameter.ActualValue as AlbaEncodedSolution; 117 else 115 if (solution == null) 118 116 VRPToursParameter.ActualValue = solution = AlbaEncodedSolution.ConvertFrom(VRPToursParameter.ActualValue, ProblemInstance); 119 117
Note: See TracChangeset
for help on using the changeset viewer.