Changeset 14029 for branches/crossvalidation-2434/HeuristicLab.Problems.VehicleRouting/3.4/Encodings
- Timestamp:
- 07/08/16 14:40:02 (8 years ago)
- Location:
- branches/crossvalidation-2434
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crossvalidation-2434
- Property svn:mergeinfo changed
-
branches/crossvalidation-2434/HeuristicLab.Problems.VehicleRouting
- Property svn:mergeinfo changed
/stable/HeuristicLab.Problems.VehicleRouting merged: 13316 /trunk/sources/HeuristicLab.Problems.VehicleRouting (added) merged: 13173,13321,13397,13420
- Property svn:mergeinfo changed
-
branches/crossvalidation-2434/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/PickupDelivery/PDExchange/PotvinPDExchangeSingleMoveGenerator.cs
r12012 r14029 70 70 int oldTourIndex = individual.Tours.IndexOf(oldTour); 71 71 72 int max = individual.Tours.Count; 73 if (individual.Tours.Count < problemInstance.Vehicles.Value) 74 max = max - 1; 72 int max = individual.Tours.Count - 1; 75 73 76 74 int newTourIndex = rand.Next(max);
Note: See TracChangeset
for help on using the changeset viewer.