Changeset 4352 for trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/General/Creators/PushForwardInsertionCreator.cs
- Timestamp:
- 09/01/10 11:13:46 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.VehicleRouting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting
-
Property
svn:mergeinfo
set to
/branches/VRP/HeuristicLab.Problems.VehicleRouting merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/General/Creators/PushForwardInsertionCreator.cs
r4183 r4352 225 225 int customer = -1; 226 226 int subTourCount = 1; 227 List<int> route = new List<int>(Cities Parameter.ActualValue.Value+ VehiclesParameter.ActualValue.Value - 1);227 List<int> route = new List<int>(Cities + VehiclesParameter.ActualValue.Value - 1); 228 228 minimumCost = double.MaxValue; 229 229 indexOfMinimumCost = -1; … … 271 271 customer = -1; 272 272 } while (unroutedList.Count > 0); 273 while (route.Count < Cities Parameter.ActualValue.Value+ VehiclesParameter.ActualValue.Value - 1)273 while (route.Count < Cities + VehiclesParameter.ActualValue.Value - 1) 274 274 route.Add(0); 275 275
Note: See TracChangeset
for help on using the changeset viewer.