Changeset 6856 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/PickupDelivery/PDRearrange/PotvinPDRearrangeMoveMaker.cs
- Timestamp:
- 09/30/11 13:51:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/PickupDelivery/PDRearrange/PotvinPDRearrangeMoveMaker.cs
r6851 r6856 97 97 IPickupAndDeliveryProblemInstance pdp = problemInstance as IPickupAndDeliveryProblemInstance; 98 98 if (pdp != null) { 99 int location = pdp. PickupDeliveryLocation[move.City];99 int location = pdp.GetPickupDeliveryLocation(move.City); 100 100 Tour tour2 = solution.Tours.Find(t => t.Stops.Contains(location)); 101 101 int position2 = tour2.Stops.IndexOf(location);
Note: See TracChangeset
for help on using the changeset viewer.