- Timestamp:
- 07/23/17 00:52:14 (7 years ago)
- Location:
- branches/Async
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Async
- Property svn:mergeinfo changed
-
branches/Async/HeuristicLab.Problems.VehicleRouting
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.VehicleRouting (added) merged: 13397,13420
- Property svn:mergeinfo changed
-
branches/Async/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/PickupDelivery/PDExchange/PotvinPDExchangeSingleMoveGenerator.cs
r12012 r15280 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.