Changeset 6855 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/MultiDepotVRP
- Timestamp:
- 09/30/11 12:55:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/MultiDepotVRP/MDCVRP/MDCVRPTW/MDCVRPTWEvaluator.cs
r6854 r6855 86 86 double spareCapacity = capacity - delivered; 87 87 88 double tourStartTime = vrptw.ReadyTime[depot]; 89 time = tourStartTime; 90 88 91 //simulate a tour, start and end at depot 89 92 for (int i = 0; i <= tour.Stops.Count; i++) { … … 131 134 time += currentServiceTime; 132 135 133 CVRPTWInsertionInfo stopInfo = new CVRPTWInsertionInfo(start, end, spareCapacity, arrivalTime, time, spareTime, waitTime);136 CVRPTWInsertionInfo stopInfo = new CVRPTWInsertionInfo(start, end, spareCapacity, tourStartTime, arrivalTime, time, spareTime, waitTime); 134 137 tourInfo.AddStopInsertionInfo(stopInfo); 135 138 } … … 199 202 if (index > 0) 200 203 time = (tourInsertionInfo.GetStopInsertionInfo(index - 1) as CVRPTWInsertionInfo).LeaveTime; 204 else 205 time = insertionInfo.TourStartTime; 206 201 207 time += startDistance; 202 208
Note: See TracChangeset
for help on using the changeset viewer.