Changeset 6459 for trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Potvin/Crossovers/PotvinRouteBasedCrossover.cs
- Timestamp:
- 06/21/11 10:27:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Potvin/Crossovers/PotvinRouteBasedCrossover.cs
r6449 r6459 50 50 DoubleValue capacity = CapacityParameter.ActualValue; 51 51 52 bool allowInfeasible = AllowInfeasibleSolutions.Value.Value; 53 52 54 PotvinEncoding child = parent2.Clone() as PotvinEncoding; 53 55 … … 65 67 child.Unrouted.Add(city); 66 68 67 if (Repair(random, child, replacing, distMatrix, dueTime, readyTime, serviceTime, demand, capacity ))69 if (Repair(random, child, replacing, distMatrix, dueTime, readyTime, serviceTime, demand, capacity, allowInfeasible) || allowInfeasible) 68 70 return child; 69 71 else {
Note: See TracChangeset
for help on using the changeset viewer.