Changeset 4270 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/GVR/Manipulators/GVRInsertionManipulator.cs
- Timestamp:
- 08/20/10 11:43:31 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/GVR/Manipulators/GVRInsertionManipulator.cs
r4231 r4270 55 55 } else { 56 56 Tour newTour = individual.Tours[random.Next(individual.Tours.Count)]; 57 int newPosition = newTour.Cities.Count;57 int newPosition = random.Next(newTour.Cities.Count + 1); 58 58 59 59 newTour.Cities.Insert(newPosition, customer);
Note: See TracChangeset
for help on using the changeset viewer.