Changeset 6837 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Crossovers
- Timestamp:
- 09/27/11 13:29:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Crossovers/PotvinCrossover.cs
r6607 r6837 136 136 } 137 137 138 if (!allowInfeasible && !instance. Feasible(newTour))138 if (!allowInfeasible && !instance.TourFeasible(newTour, solution)) 139 139 return false; 140 140 … … 159 159 160 160 ChildParameter.ActualValue = Crossover(RandomParameter.ActualValue, parents[0] as PotvinEncoding, parents[1] as PotvinEncoding); 161 (ChildParameter.ActualValue as PotvinEncoding).Repair(); 161 162 162 163 return base.Apply();
Note: See TracChangeset
for help on using the changeset viewer.