Changeset 4284 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Manipulators
- Timestamp:
- 08/23/10 11:32:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Manipulators/LambdaInterchangeManipulator.cs
r4230 r4284 110 110 Tour route2 = tours[route2Index]; 111 111 112 int length1 = rand.Next( Math.Min(lambda + 1, route1.Cities.Count + 1));112 int length1 = rand.Next(1, Math.Min(lambda + 1, route1.Cities.Count + 1)); 113 113 int index1 = rand.Next(route1.Cities.Count - length1 + 1); 114 114
Note: See TracChangeset
for help on using the changeset viewer.