Changeset 17698 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/CustomerRelocation/PotvinCustomerRelocationMoveMaker.cs
- Timestamp:
- 07/24/20 00:58:42 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/CustomerRelocation/PotvinCustomerRelocationMoveMaker.cs
r17226 r17698 68 68 } 69 69 70 public static void Apply(PotvinEncod ingsolution, PotvinCustomerRelocationMove move, IVRPProblemInstance problemInstance) {70 public static void Apply(PotvinEncodedSolution solution, PotvinCustomerRelocationMove move, IVRPProblemInstance problemInstance) { 71 71 if (move.Tour >= solution.Tours.Count) 72 72 solution.Tours.Add(new Tour()); … … 87 87 PotvinCustomerRelocationMove move = CustomerRelocationMoveParameter.ActualValue; 88 88 89 PotvinEncod ing newSolution = move.Individual.Clone() as PotvinEncoding;89 PotvinEncodedSolution newSolution = move.Individual.Clone() as PotvinEncodedSolution; 90 90 Apply(newSolution, move, ProblemInstance); 91 91 newSolution.Repair();
Note: See TracChangeset
for help on using the changeset viewer.