Changeset 17698 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators/PotvinPairwiseOneLevelExchangeManipulator.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/Manipulators/PotvinPairwiseOneLevelExchangeManipulator.cs
r17226 r17698 44 44 } 45 45 46 public static bool PairwiseMove(PotvinEncod ingindividual, IVRPProblemInstance instance, int city, bool allowInfeasible) {46 public static bool PairwiseMove(PotvinEncodedSolution individual, IVRPProblemInstance instance, int city, bool allowInfeasible) { 47 47 bool success; 48 48 … … 128 128 } 129 129 130 public static void ApplyManipulation(IRandom random, PotvinEncod ingindividual, IPickupAndDeliveryProblemInstance pdp, bool allowInfeasible) {130 public static void ApplyManipulation(IRandom random, PotvinEncodedSolution individual, IPickupAndDeliveryProblemInstance pdp, bool allowInfeasible) { 131 131 int selectedIndex = SelectRandomTourBiasedByLength(random, individual, pdp); 132 132 if (selectedIndex >= 0) { … … 149 149 150 150 151 protected override void Manipulate(IRandom random, PotvinEncod ingindividual) {151 protected override void Manipulate(IRandom random, PotvinEncodedSolution individual) { 152 152 bool allowInfeasible = AllowInfeasibleSolutions.Value.Value; 153 153
Note: See TracChangeset
for help on using the changeset viewer.