Changeset 17698 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/VehicleAssignment/PotvinVehicleAssignmentSingleMoveGenerator.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/PotvinVehicleAssignmentSingleMoveGenerator.cs
r17226 r17698 61 61 } 62 62 63 public static PotvinVehicleAssignmentMove Apply(PotvinEncod ingindividual, IVRPProblemInstance problemInstance, IRandom rand) {63 public static PotvinVehicleAssignmentMove Apply(PotvinEncodedSolution individual, IVRPProblemInstance problemInstance, IRandom rand) { 64 64 if (individual.Tours.Count > 1) { 65 65 int tour1 = rand.Next(individual.Tours.Count); … … 75 75 } 76 76 77 protected override PotvinVehicleAssignmentMove[] GenerateMoves(PotvinEncod ingindividual, IVRPProblemInstance problemInstance) {77 protected override PotvinVehicleAssignmentMove[] GenerateMoves(PotvinEncodedSolution individual, IVRPProblemInstance problemInstance) { 78 78 List<PotvinVehicleAssignmentMove> result = new List<PotvinVehicleAssignmentMove>(); 79 79
Note: See TracChangeset
for help on using the changeset viewer.