Changeset 17698 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/PickupDelivery/PDShift/PotvinPDShiftMove.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/PickupDelivery/PDShift/PotvinPDShiftMove.cs
r17226 r17698 33 33 public class PotvinPDShiftMove : Item, IVRPMove { 34 34 [Storable] 35 public IVRPEncod ingIndividual { get; protected set; }35 public IVRPEncodedSolution Individual { get; protected set; } 36 36 37 37 [Storable] … … 52 52 } 53 53 54 public PotvinPDShiftMove(int city, int oldTour, int tour, PotvinEncod ingindividual) {54 public PotvinPDShiftMove(int city, int oldTour, int tour, PotvinEncodedSolution individual) { 55 55 City = city; 56 56 OldTour = oldTour; 57 57 Tour = tour; 58 58 59 this.Individual = individual.Clone() as PotvinEncod ing;59 this.Individual = individual.Clone() as PotvinEncodedSolution; 60 60 } 61 61 … … 70 70 this.Tour = original.Tour; 71 71 72 this.Individual = cloner.Clone(Individual) as PotvinEncod ing;72 this.Individual = cloner.Clone(Individual) as PotvinEncodedSolution; 73 73 } 74 74
Note: See TracChangeset
for help on using the changeset viewer.