Changeset 17698 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/VehicleAssignment/PotvinVehicleAssignmentMove.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/VehicleAssignment/PotvinVehicleAssignmentMove.cs
r17226 r17698 32 32 public class PotvinVehicleAssignmentMove : Item, IVRPMove { 33 33 [Storable] 34 public IVRPEncod ingIndividual { get; protected set; }34 public IVRPEncodedSolution Individual { get; protected set; } 35 35 36 36 [Storable] … … 49 49 } 50 50 51 public PotvinVehicleAssignmentMove(int tour1, int tour2, PotvinEncod ingindividual) {51 public PotvinVehicleAssignmentMove(int tour1, int tour2, PotvinEncodedSolution individual) { 52 52 Tour1 = tour1; 53 53 Tour2 = tour2; 54 54 55 this.Individual = individual.Clone() as PotvinEncod ing;55 this.Individual = individual.Clone() as PotvinEncodedSolution; 56 56 } 57 57 … … 65 65 this.Tour2 = original.Tour2; 66 66 67 this.Individual = cloner.Clone(Individual) as PotvinEncod ing;67 this.Individual = cloner.Clone(Individual) as PotvinEncodedSolution; 68 68 } 69 69
Note: See TracChangeset
for help on using the changeset viewer.