Changeset 7790
- Timestamp:
- 05/10/12 15:17:38 (13 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/CustomerRelocation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/CustomerRelocation/PotvinCustomerRelocationExhaustiveMoveGenerator.cs
r5127 r7790 52 52 53 53 int max = individual.Tours.Count; 54 if (individual.Tours.Count <problemInstance.Vehicles.Value)54 if (individual.Tours.Count >= problemInstance.Vehicles.Value) 55 55 max = max - 1; 56 56 -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/CustomerRelocation/PotvinCustomerRelocationMoveMaker.cs
r6857 r7790 82 82 int place = solution.FindBestInsertionPlace(tour, move.City); 83 83 tour.Stops.Insert(place, move.City); 84 85 solution.Repair(); 84 86 } 85 87
Note: See TracChangeset
for help on using the changeset viewer.