Changeset 14645 for branches/HeuristicLab.VRPEnhancements/HeuristicLab.Problems.VehicleRouting.Views
- Timestamp:
- 02/03/17 14:47:52 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.VRPEnhancements/HeuristicLab.Problems.VehicleRouting.Views/3.4/VRPSolutionView.cs
r14185 r14645 93 93 if (Content != null && Content.Solution != null) { 94 94 foreach (Tour tour in Content.Solution.GetTours()) { 95 int tourIndex = Content.Solution.GetTourIndex(tour); 96 int vehidleIndex = Content.Solution.GetVehicleAssignment(tourIndex); 97 sb.AppendFormat("Vehicle #{0}:", vehidleIndex); 95 98 foreach (int city in tour.Stops) { 99 sb.Append(" "); 96 100 sb.Append(city); 97 sb.Append(" ");98 101 } 99 102 sb.AppendLine();
Note: See TracChangeset
for help on using the changeset viewer.